From 2b47fae476112b24205c343cf6f0e7f4cd55af46 Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Mon, 1 Dec 2014 19:59:32 +0200 Subject: Auto balance mode 2 no longer prevents people from spawning when there's no spawns left in the enemy team. --- src/game/g_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') diff --git a/src/game/g_main.c b/src/game/g_main.c index 4777f71..65e5d41 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1090,6 +1090,7 @@ void G_SpawnClients( team_t team ) if( g_teamForceBalance.integer == 2 && !level.humanTeamLocked && !level.alienTeamLocked && + level.numHumanSpawns > 0 && level.numLiveAlienClients-level.numHumanClients > 0 ) numSpawns = -1; } @@ -1100,6 +1101,7 @@ void G_SpawnClients( team_t team ) if( g_teamForceBalance.integer == 2 && !level.humanTeamLocked && !level.alienTeamLocked && + level.numAlienSpawns > 0 && level.numLiveHumanClients-level.numAlienClients > 0 ) numSpawns = -1; } -- cgit