summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-11-15 12:40:50 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-11-16 00:08:22 +0100
commit08e2a978534479068c34bae0337a4ce60b7265ac (patch)
treecdadb1cb7a44c207a0cbb07e2d0698d34a8d417f /src/game
parent74359e64a86e03601c81cacb7ea21413ab93999c (diff)
Fix dry run not printing test messages.
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,