From 08e2a978534479068c34bae0337a4ce60b7265ac Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 15 Nov 2018 12:40:50 +0100 Subject: Fix dry run not printing test messages. --- src/game/g_main.c | 13 ++++++------- 1 file 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, -- cgit