Merge branch 'map-command-no-mapheaderinfo' into 'master'

Let the map command warp to maps without a level header

See merge request STJr/SRB2!528
This commit is contained in:
James R 2019-12-15 16:59:03 -05:00
commit 53c7df4818
1 changed files with 1 additions and 1 deletions

View File

@ -1907,7 +1907,7 @@ static void Command_Map_f(void)
}
}
if (newmapnum == 0 || !mapheaderinfo[newmapnum-1])
if (newmapnum == 0)
{
CONS_Alert(CONS_ERROR, M_GetText("Could not find any map described as '%s'.\n"), mapname);
Z_Free(mapname);