mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-24 12:51:24 +00:00
- 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:
parent
df16c7b3fb
commit
5d67514b9c
1 changed files with 1 additions and 1 deletions
2
wad.cpp
2
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
|
||||
|
|
Loading…
Reference in a new issue