From 68e99dc33c8c703a3e95c6496697b3cdd3b90c8d Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Tue, 14 Nov 2006 15:14:21 +0000 Subject: * (bug 2665) P cvar is now constructed from pers.teamSelection so correct team is shown for specs in follow mode (thanks M. Kristall) --- src/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) { -- cgit