Brightmaps fix

See https://forum.zdoom.org/viewtopic.php?f=2&t=72687 for more information.
This commit is contained in:
Gaerzi 2021-07-16 19:12:56 +02:00 committed by Christoph Oelckers
parent eb2646b613
commit 3f9a3a454b

View file

@ -1155,7 +1155,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;
}