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,17 +2203,17 @@ void StartFrame (void) {
|
||||||
if (dmActive && freeForAll) {
|
if (dmActive && freeForAll) {
|
||||||
if (dmActive->value > 0.0f) {
|
if (dmActive->value > 0.0f) {
|
||||||
g_gameFlags |= GAME_CSDM;
|
g_gameFlags |= GAME_CSDM;
|
||||||
|
|
||||||
if (freeForAll->value > 0.0f) {
|
|
||||||
g_gameFlags |= GAME_CSDM_FFA;
|
|
||||||
}
|
|
||||||
else if (g_gameFlags & GAME_CSDM_FFA) {
|
|
||||||
g_gameFlags &= ~GAME_CSDM_FFA;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (g_gameFlags & GAME_CSDM) {
|
else if (g_gameFlags & GAME_CSDM) {
|
||||||
g_gameFlags &= ~GAME_CSDM;
|
g_gameFlags &= ~GAME_CSDM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (freeForAll->value > 0.0f) {
|
||||||
|
g_gameFlags |= GAME_CSDM_FFA;
|
||||||
|
}
|
||||||
|
else if (g_gameFlags & GAME_CSDM_FFA) {
|
||||||
|
g_gameFlags &= ~GAME_CSDM_FFA;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_timePerSecondUpdate = engine.timebase () + 1.0f;
|
g_timePerSecondUpdate = engine.timebase () + 1.0f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue