diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-12-28 17:46:10 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-12-28 17:46:10 +0000 |
commit | 1c3f853c00e7ec5c219715bb584f52f9569d6f9c (patch) | |
tree | 90ca2ae2672c7b01d086327d2df439d6d91fa479 /code | |
parent | 6e4b255e16e17f8a3c749e76466987c238b7dafe (diff) | |
download | ioquake3-aero-1c3f853c00e7ec5c219715bb584f52f9569d6f9c.tar.gz ioquake3-aero-1c3f853c00e7ec5c219715bb584f52f9569d6f9c.zip |
fix team orders menu
git-svn-id: svn://svn.icculus.org/quake3/trunk@1018 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/q3_ui/ui_teamorders.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/code/q3_ui/ui_teamorders.c b/code/q3_ui/ui_teamorders.c index 7cf85f4..d116e01 100644 --- a/code/q3_ui/ui_teamorders.c +++ b/code/q3_ui/ui_teamorders.c @@ -295,7 +295,7 @@ static void UI_TeamOrdersMenu_BuildBotList( void ) { int numPlayers; int isBot; int n; - char playerTeam; + char playerTeam = '3'; char botTeam; char info[MAX_INFO_STRING]; @@ -315,8 +315,6 @@ static void UI_TeamOrdersMenu_BuildBotList( void ) { 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; |