Fix minor unnecessary call

This commit is contained in:
James R 2019-10-10 11:07:34 -07:00
parent e79ec14dc3
commit e189833697

View file

@ -2347,12 +2347,12 @@ static void Command_Map_f(void)
G_SetGameModified(false, true);
}
arg_gametype = COM_Argv(parm_gametype + 1);
// new gametype value
// use current one by default
if (parm_gametype)
{
arg_gametype = COM_Argv(parm_gametype + 1);
for (i = 0; gametype_cons_t[i].strvalue; i++)
if (!strcasecmp(gametype_cons_t[i].strvalue, arg_gametype))
{