Bots should be affected by mp_freeforall even with disabled csdm_active.
This commit is contained in:
parent
d4dd4110b9
commit
168bcf1d36
1 changed files with 7 additions and 7 deletions
|
|
@ -2203,6 +2203,10 @@ void StartFrame (void) {
|
|||
if (dmActive && freeForAll) {
|
||||
if (dmActive->value > 0.0f) {
|
||||
g_gameFlags |= GAME_CSDM;
|
||||
}
|
||||
else if (g_gameFlags & GAME_CSDM) {
|
||||
g_gameFlags &= ~GAME_CSDM;
|
||||
}
|
||||
|
||||
if (freeForAll->value > 0.0f) {
|
||||
g_gameFlags |= GAME_CSDM_FFA;
|
||||
|
|
@ -2211,10 +2215,6 @@ void StartFrame (void) {
|
|||
g_gameFlags &= ~GAME_CSDM_FFA;
|
||||
}
|
||||
}
|
||||
else if (g_gameFlags & GAME_CSDM) {
|
||||
g_gameFlags &= ~GAME_CSDM;
|
||||
}
|
||||
}
|
||||
}
|
||||
g_timePerSecondUpdate = engine.timebase () + 1.0f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue