mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
fix secret exit in PWADs
This commit is contained in:
parent
9b7cbdceee
commit
05c26aabd2
@ -1977,8 +1977,7 @@ void D_DoomMain(void)
|
|||||||
|
|
||||||
// Check for wolf levels
|
// Check for wolf levels
|
||||||
{
|
{
|
||||||
int lumpnum = W_CheckNumForName("map31");
|
haswolflevels = (W_CheckNumForName("map31") >= 0);
|
||||||
haswolflevels = (lumpnum >= 0 && W_IsIWADLump(lumpnum));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Moved after WAD initialization because we are checking the COMPLVL lump
|
// Moved after WAD initialization because we are checking the COMPLVL lump
|
||||||
|
Loading…
x
Reference in New Issue
Block a user