diff options
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index bc74cfe9..4283b8eb 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -771,14 +771,14 @@ void CalculateRanks( void ) level.numConnectedClients++; //TA: so we know when the game ends and for team leveling - if( level.clients[ i ].pers.pteam == PTE_ALIENS ) + if( level.clients[ i ].ps.stats[ STAT_PTEAM ] == PTE_ALIENS ) { level.numAlienClients++; if( level.clients[ i ].sess.sessionTeam != TEAM_SPECTATOR ) level.numLiveAlienClients++; } - if( level.clients[ i ].pers.pteam == PTE_HUMANS ) + if( level.clients[ i ].ps.stats[ STAT_PTEAM ] == PTE_HUMANS ) { level.numHumanClients++; if( level.clients[ i ].sess.sessionTeam != TEAM_SPECTATOR ) |