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:
commit
53c7df4818
|
@ -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);
|
CONS_Alert(CONS_ERROR, M_GetText("Could not find any map described as '%s'.\n"), mapname);
|
||||||
Z_Free(mapname);
|
Z_Free(mapname);
|
||||||
|
|
Loading…
Reference in New Issue