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