summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-11-18 00:12:13 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-11-18 00:12:13 +0100
commitfe39574c41296f0a35371c1f931ec0564bdea549 (patch)
tree178eb26dc410c77e62fb3bd866f3d1e5b84fb880 /src
parent91a67d68b5788f97c075bce8db1e59c73340589e (diff)
Make sure negative g_antistack values always reset handicaps.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index c7ad479..0aa08b7 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2821,13 +2821,13 @@ skip_bias:
(handicap_team == PTE_ALIENS ? "Alien" : "Human"),
(1.0f - handicap) * 100.0f);
+skip_handicap:
// 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;
}
-skip_handicap:
G_LogPrintf("Antistack: %dv%d %d:%d %f %f %f %i %f%s\n",
aliens, humans, alien_score, human_score, teambias,
scorebias, bias, handicap_team, handicap, log_notice);