Menu: Enable model preview.
Gamerules: Remove redundant game-rule check.
This commit is contained in:
parent
8fb85a9b1e
commit
4f8c9ff3db
2 changed files with 1 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
||||||
#pragma progs_dat "../../menu.dat"
|
#pragma progs_dat "../../menu.dat"
|
||||||
#define MENU
|
#define MENU
|
||||||
#define GAME_DIR "valve"
|
#define GAME_DIR "valve"
|
||||||
|
#define MODEL_PREVIEW
|
||||||
|
|
||||||
#includelist
|
#includelist
|
||||||
../../../src/menu-fn/includes.src
|
../../../src/menu-fn/includes.src
|
||||||
|
|
|
@ -61,12 +61,6 @@ HLMultiplayerRules::PlayerDeath(base_player pl)
|
||||||
g_dmg_eAttacker.frags++;
|
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
|
#ifdef VALVE
|
||||||
/* explode all satchels */
|
/* explode all satchels */
|
||||||
s_satchel_detonate((entity)pl);
|
s_satchel_detonate((entity)pl);
|
||||||
|
|
Loading…
Reference in a new issue