From 981a808f3802e4675301a56a81066a76f4437223 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Wed, 25 Apr 2007 04:26:08 +0000 Subject: * (bug 2971) fix g_teamForceBalance for /team auto (M. Kristall) --- src/game/g_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 839ba49e..0be2176f 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -725,9 +725,9 @@ void Cmd_Team_f( gentity_t *ent ) { if( level.humanTeamLocked && level.alienTeamLocked ) team = PTE_NONE; - else if( level.numHumanClients > level.numAlienClients ) + else if( humans > aliens ) team = PTE_ALIENS; - else if( level.numHumanClients < level.numAlienClients ) + else if( humans < aliens ) team = PTE_HUMANS; else team = PTE_ALIENS + ( rand( ) % 2 ); -- cgit