Menu: Enable model preview.

Gamerules: Remove redundant game-rule check.
This commit is contained in:
Marco Cawthorne 2021-08-29 13:26:37 +02:00
parent 8fb85a9b1e
commit 4f8c9ff3db
2 changed files with 1 additions and 6 deletions

View File

@ -2,6 +2,7 @@
#pragma progs_dat "../../menu.dat"
#define MENU
#define GAME_DIR "valve"
#define MODEL_PREVIEW
#includelist
../../../src/menu-fn/includes.src

View File

@ -61,12 +61,6 @@ HLMultiplayerRules::PlayerDeath(base_player pl)
g_dmg_eAttacker.frags++;
}
/* in DM we only care about the frags */
if (cvar("mp_fraglimit"))
if (g_dmg_eAttacker.frags >= cvar("mp_fraglimit")) {
IntermissionStart();
}
#ifdef VALVE
/* explode all satchels */
s_satchel_detonate((entity)pl);