- 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)
This commit is contained in:
Randy Heit 2010-01-24 21:55:00 +00:00
parent df16c7b3fb
commit 5d67514b9c

View file

@ -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