aboutsummaryrefslogtreecommitdiffstats
path: root/code/q3_ui/ui_splevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/q3_ui/ui_splevel.c')
-rw-r--r--code/q3_ui/ui_splevel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/code/q3_ui/ui_splevel.c b/code/q3_ui/ui_splevel.c
index 016d996..0c3b08f 100644
--- a/code/q3_ui/ui_splevel.c
+++ b/code/q3_ui/ui_splevel.c
@@ -198,11 +198,11 @@ static void UI_SPLevelMenu_SetBots( void ) {
*p++ = 0;
}
- botInfo = UI_GetBotInfoByName( bot );
- if(!botInfo)
- {
- botInfo = UI_GetBotInfoByNumber( levelMenuInfo.numBots );
- }
+ botInfo = UI_GetBotInfoByName( bot );
+ if(!botInfo)
+ {
+ botInfo = UI_GetBotInfoByNumber( levelMenuInfo.numBots );
+ }
if( botInfo ) {
levelMenuInfo.botPics[levelMenuInfo.numBots] = PlayerIconHandle( Info_ValueForKey( botInfo, "model" ) );