Don't abort when merely checking if a non-map is a map
- When P_OpenMapData() is called by P_CheckMapData(), we don't actually care if any required lumps are missing. This just means it isn't a valid map, so don't abort with I_Error().
This commit is contained in:
parent
0f0d9da839
commit
b0371e1804
5 changed files with 19 additions and 9 deletions
|
|
@ -463,7 +463,7 @@ void STAT_ChangeLevel(const char *newl)
|
|||
{
|
||||
// we reached the end of this episode
|
||||
int wad = 0;
|
||||
MapData * map = P_OpenMapData(StartEpisode->mEpisodeMap);
|
||||
MapData * map = P_OpenMapData(StartEpisode->mEpisodeMap, false);
|
||||
if (map != NULL)
|
||||
{
|
||||
wad = Wads.GetLumpFile(map->lumpnum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue