summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_main.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 8971db2..2bd4122 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2787,13 +2787,6 @@ static void CheckAntistack(void)
goto out;
}
- // Negative g_antistack values cause a dry run and are for debugging.
- if (g_antistack.integer < 0) {
- level.alienHandicap = 1.0f;
- level.humanHandicap = 1.0f;
- goto out;
- }
-
level.antistackWasHandicapping = qtrue;
if (bias < 0.0f) {
@@ -2817,6 +2810,12 @@ static void CheckAntistack(void)
(handicap_team == PTE_ALIENS ? "Alien" : "Human"),
(1.0f - handicap) * 100.0f);
+ // Negative g_antistack values cause a dry run and are for debugging.
+ if (g_antistack.integer < 0) {
+ level.alienHandicap = 1.0f;
+ level.humanHandicap = 1.0f;
+ }
+
out:
G_LogPrintf("Antistack: %dv%d %d:%d %f %f %f %i %f%s\n",
aliens, humans, alien_score, human_score, teambias,