- fixed: Changed IWAD_FILENUM to a dynamic lookup.
This commit is contained in:
parent
ffa11dec54
commit
765646ee1c
13 changed files with 30 additions and 25 deletions
|
|
@ -614,7 +614,7 @@ void gl_ParseBrightmap(FScanner &sc, int deflump)
|
|||
|
||||
if (lumpnum != -1)
|
||||
{
|
||||
if (iwad && Wads.GetLumpFile(lumpnum) <= FWadCollection::IWAD_FILENUM) useme = true;
|
||||
if (iwad && Wads.GetLumpFile(lumpnum) <= Wads.GetIwadNum()) useme = true;
|
||||
if (thiswad && Wads.GetLumpFile(lumpnum) == deflump) useme = true;
|
||||
}
|
||||
if (!useme) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue