diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-11-15 12:40:50 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-02-10 14:47:47 +0100 |
commit | c1678b7c7e2cfa4cfc530900f9dcaed3bc32f373 (patch) | |
tree | 934d45de9c94a7e4e4f8cd7b1e4d2d714a170565 /src | |
parent | cf24b33198a75c35ed995304e135401d8c84b09c (diff) |
Fix dry run not printing test messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_main.c | 13 |
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, |