From 59e0654cc57faa115cc934c213c6688c5d19d935 Mon Sep 17 00:00:00 2001 From: Tremulous Test Server Date: Sun, 5 Jul 2015 10:02:06 +0000 Subject: Minimum team size forstage thresholds is now at least 4. --- src/game/g_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/g_main.c b/src/game/g_main.c index a07347e..a056fa2 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1562,8 +1562,8 @@ G_CalculateStages */ void G_CalculateStages( void ) { - float alienPlayerCountMod = level.averageNumAlienClients / PLAYER_COUNT_MOD; - float humanPlayerCountMod = level.averageNumHumanClients / PLAYER_COUNT_MOD; + float alienPlayerCountMod = MAX(4,level.averageNumAlienClients) / PLAYER_COUNT_MOD; + float humanPlayerCountMod = MAX(4,level.averageNumHumanClients) / PLAYER_COUNT_MOD; int alienNextStageThreshold, humanNextStageThreshold; static int lastAlienStageModCount = 1; static int lastHumanStageModCount = 1; -- cgit