- 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
|
|
@ -1108,7 +1108,7 @@ void ST_Endoom()
|
|||
exit(0);
|
||||
}
|
||||
|
||||
if (Wads.GetLumpFile(endoom_lump) == FWadCollection::IWAD_FILENUM && showendoom == 2)
|
||||
if (Wads.GetLumpFile(endoom_lump) == Wads.GetIwadNum() && showendoom == 2)
|
||||
{
|
||||
// showendoom==2 means to show only lumps from PWADs.
|
||||
exit(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue