diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-12-01 19:59:32 +0200 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-12-01 19:59:32 +0200 |
commit | 2b47fae476112b24205c343cf6f0e7f4cd55af46 (patch) | |
tree | f04ac527eab838f9c4fe1b9ee8b007b3bb018d26 /src/game/g_main.c | |
parent | 233d282ff4635a8a71267079939e1bbf12285028 (diff) |
Auto balance mode 2 no longer prevents people from spawning when there's no spawns left in the enemy team.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |