summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2007-04-25 04:26:08 +0000
committerTony J. White <tjw@tjw.org>2007-04-25 04:26:08 +0000
commit981a808f3802e4675301a56a81066a76f4437223 (patch)
tree6671a3c6732dc84d40d0f5fdf87587dfaeb3d2cb /src
parente325dbdf1faf792cc07cbf747141d641a8b767e0 (diff)
* (bug 2971) fix g_teamForceBalance for /team auto (M. Kristall)
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c4
1 files changed, 2 insertions, 2 deletions
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 );