mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-12 05:32:03 +00:00
- Fix wrong thiswad check for materials too.
This commit is contained in:
parent
d00c6e4ecc
commit
2d0a876ab1
1 changed files with 1 additions and 1 deletions
|
@ -1337,7 +1337,7 @@ class GLDefsParser
|
||||||
if (lumpnum != -1)
|
if (lumpnum != -1)
|
||||||
{
|
{
|
||||||
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxIwadNum()) useme = true;
|
if (iwad && fileSystem.GetFileContainer(lumpnum) <= fileSystem.GetMaxIwadNum()) useme = true;
|
||||||
if (thiswad && fileSystem.GetFileContainer(lumpnum) == workingLump) useme = true;
|
if (thiswad && fileSystem.GetFileContainer(lumpnum) == fileSystem.GetFileContainer(workingLump)) useme = true;
|
||||||
}
|
}
|
||||||
if (!useme) return;
|
if (!useme) return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue