From 58ed367280b7ecc5f0bfd42735d1a35a112a4e9a Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 11 Mar 2012 03:25:04 +0000 Subject: [PATCH] - 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) --- src/p_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_setup.cpp b/src/p_setup.cpp index ce8a72da3..e2d626936 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -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 {