diff options
author | Tremulous Test Server <tremtest@d1stkfactory> | 2015-07-05 10:02:06 +0000 |
---|---|---|
committer | Tremulous Test Server <tremtest@d1stkfactory> | 2015-07-05 10:02:06 +0000 |
commit | 59e0654cc57faa115cc934c213c6688c5d19d935 (patch) | |
tree | edad1b7cddf86f35fe159a4a99a2da7f1e6dbaf7 | |
parent | 81eee170fd08b98d4f6cd469a42ac9a6295fbb4d (diff) |
Minimum team size forstage thresholds is now at least 4.
-rw-r--r-- | src/game/g_main.c | 4 |
1 files 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; |