Skip to content

Commit

Permalink
Brightmaps fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaerzi committed Jul 16, 2021
1 parent eb2646b commit 9acc0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r_data/gldefs.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9acc0fc

Please sign in to comment.