From 5d67514b9c9910c7c23b0b0baaf70b66feb0865b Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 24 Jan 2010 21:55:00 +0000 Subject: [PATCH] - Fixed: FWadReader::MapHasBehavior() needs to call FindMapLump(), not FindLump(), or it will think that if any maps in a wad are in Hexen format, then they all are. SVN r2132 (trunk) --- wad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wad.cpp b/wad.cpp index d6a53ae..f7f058b 100644 --- a/wad.cpp +++ b/wad.cpp @@ -268,7 +268,7 @@ int FWadReader::SkipGLNodes (int index) const bool FWadReader::MapHasBehavior (int map) const { - return FindLump ("BEHAVIOR", map) != -1; + return FindMapLump ("BEHAVIOR", map) != -1; } int FWadReader::NextMap (int index) const