r1018 - trunk/code/q3_ui

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 28 12:46:11 EST 2006


Author: ludwig
Date: 2006-12-28 12:46:10 -0500 (Thu, 28 Dec 2006)
New Revision: 1018

Modified:
   trunk/code/q3_ui/ui_teamorders.c
Log:
fix team orders menu


Modified: trunk/code/q3_ui/ui_teamorders.c
===================================================================
--- trunk/code/q3_ui/ui_teamorders.c	2006-12-27 23:20:33 UTC (rev 1017)
+++ trunk/code/q3_ui/ui_teamorders.c	2006-12-28 17:46:10 UTC (rev 1018)
@@ -295,7 +295,7 @@
 	int		numPlayers;
 	int		isBot;
 	int		n;
-	char	playerTeam;
+	char	playerTeam = '3';
 	char	botTeam;
 	char	info[MAX_INFO_STRING];
 
@@ -315,8 +315,6 @@
 	for( n = 0; n < numPlayers && teamOrdersMenuInfo.numBots < 9; n++ ) {
 		trap_GetConfigString( CS_PLAYERS + n, info, MAX_INFO_STRING );
 
-		playerTeam = TEAM_SPECTATOR; // bk001204 = possible uninit use
-
 		if( n == cs.clientNum ) {
 			playerTeam = *Info_ValueForKey( info, "t" );
 			continue;




More information about the quake3-commits mailing list