- Fixed: If the first four bytes of the NODES lump are all zero, the nodes would not be loaded,

nor would they be generated.

SVN r3423 (trunk)
This commit is contained in:
Randy Heit 2012-03-11 03:25:04 +00:00
parent d367b2941a
commit 58ed367280

View file

@ -3675,7 +3675,7 @@ void P_SetupLevel (char *lumpname, int position)
}
map->file->Read (&id, 4);
if (id == idcheck || id == idcheck2 || id == idcheck3 || id == idcheck4)
if (id != 0 && (id == idcheck || id == idcheck2 || id == idcheck3 || id == idcheck4))
{
try
{