From fe39574c41296f0a35371c1f931ec0564bdea549 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 18 Nov 2018 00:12:13 +0100 Subject: Make sure negative g_antistack values always reset handicaps. --- src/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit