diff options
author | Tony J. White <tjw@tjw.org> | 2006-11-14 15:14:21 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2006-11-14 15:14:21 +0000 |
commit | 68e99dc33c8c703a3e95c6496697b3cdd3b90c8d (patch) | |
tree | aed15d14e6e71e1e25f805b4cfbfcca9cf3c6c6f /src/game | |
parent | 057a0f4b1db844262ddf2e2819da475fcf0f434d (diff) |
* (bug 2665) P cvar is now constructed from pers.teamSelection so correct
team is shown for specs in follow mode (thanks M. Kristall)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 6a8c4b11..a9923318 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1239,7 +1239,7 @@ void CalculateRanks( void ) { level.sortedClients[ level.numConnectedClients ] = i; level.numConnectedClients++; - P[ i ] = (char)'0' + level.clients[ i ].ps.stats[ STAT_PTEAM ]; + P[ i ] = (char)'0' + level.clients[ i ].pers.teamSelection; if( !( level.clients[ i ].ps.pm_flags & PMF_FOLLOW ) ) { |