summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
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;