Who cares?

(cherry picked from commit 2ffff56b391235257c65eb23e539926c4da6ac62)
This commit is contained in:
James R 2019-12-29 02:15:48 -08:00
parent 52a863d1fd
commit 9a2ff50f5a

View file

@ -4947,12 +4947,8 @@ INT32 G_FindMapByNameOrCode(const char *mapname, char **realmapnamep)
}
else if (mapnamelen == 5 && strnicmp(mapname, "MAP", 3) == 0)
{
if (( newmapnum = M_MapNumber(mapname[3], mapname[4]) ) == 0)
{
CONS_Alert(CONS_ERROR, M_GetText("Invalid map code '%s'.\n"), mapname);
return 0;
}
usemapcode = true;
if (( newmapnum = M_MapNumber(mapname[3], mapname[4]) ))
usemapcode = true;
}
if (!usemapcode)