mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +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 (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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue