- Fixed: Because P_OpenMapData() now reopens the containing file for the map, P_LoadGLNodes() needs a new check for if the map came from a regular wad.

SVN r4136 (trunk)
This commit is contained in:
Randy Heit 2013-02-14 05:06:05 +00:00
commit 7714a45e02
3 changed files with 4 additions and 1 deletions

View file

@ -304,6 +304,7 @@ MapData *P_OpenMapData(const char * mapname)
// As such any special handling for other types of lumps is skipped.
map->MapLumps[0].Reader = map->file = Wads.ReopenLumpNum(lump_name);
map->Encrypted = Wads.IsEncryptedFile(lump_name);
map->InWad = true;
if (map->Encrypted)
{ // If it's encrypted, then it's a Blood file, presumably a map.