mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-24 21:01:11 +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
|
bool FWadReader::MapHasBehavior (int map) const
|
||||||
{
|
{
|
||||||
return FindLump ("BEHAVIOR", map) != -1;
|
return FindMapLump ("BEHAVIOR", map) != -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int FWadReader::NextMap (int index) const
|
int FWadReader::NextMap (int index) const
|
||||||
|
|
Loading…
Reference in a new issue