@@ -617,7 +617,7 @@ qboolean MultiBeginGame (union menuoption_s *option,struct emenu_s *menu, int ke
617617 continue ;
618618 break ;
619619 }
620- if (* shn || !* hostname || !strcasecmp (hostname , "player" ) || !strcasecmp (hostname , "unnamed" )) //not simple enough...
620+ if (* shn || !* hostname || !Q_strcasecmp (hostname , "player" ) || !Q_strcasecmp (hostname , "unnamed" )) //not simple enough...
621621 Cbuf_AddText (va ("sv_public \"/\"\n" ), RESTRICT_LOCAL );
622622 else
623623 Cbuf_AddText (va ("sv_public \"/%s\"\n" , info -> hostnameedit -> text ), RESTRICT_LOCAL );
@@ -802,7 +802,7 @@ void M_Menu_GameOptions_f (void)
802802 info -> numplayers = MC_AddCombo (menu , 64 , 160 , y , localtext ("Max players" ), (const char * * )numplayeroptions , players );y += 8 ;
803803
804804 info -> deathmatch = MC_AddCombo (menu , 64 , 160 , y , localtext ("Deathmatch" ), (const char * * )deathmatchoptions , deathmatch .value );y += 8 ;
805- info -> teamplay = MC_AddCombo (menu , 64 , 160 , y , localtext ("Teamplay" ), (!strcasecmp (FS_GetGamedir (true), "rogue" )?(const char * * )teamplayoptions_rogue :(const char * * )teamplayoptions ), teamplay .value );y += 8 ;
805+ info -> teamplay = MC_AddCombo (menu , 64 , 160 , y , localtext ("Teamplay" ), (!Q_strcasecmp (FS_GetGamedir (true), "rogue" )?(const char * * )teamplayoptions_rogue :(const char * * )teamplayoptions ), teamplay .value );y += 8 ;
806806 info -> skill = MC_AddCombo (menu , 64 , 160 , y , localtext ("Skill" ), (const char * * )skilloptions , skill .value );y += 8 ;
807807 info -> rundedicated = MC_AddCheckBox (menu , 64 , 160 , y , localtext ("dedicated" ), NULL , 0 );y += 8 ;
808808 y += 8 ;
0 commit comments