Skip to content
Permalink
Browse files

More level_compatibility map fixes

These maps have actors not marked for any game mode (single, cooperative, deathmatch). That works in Zandronum, but GZDoom requires this fix.
  • Loading branch information
edthebat authored and coelckers committed Nov 24, 2019
1 parent 2e0f7a0 commit 4d8dfd2437e02601f6ee326cdd196ca4bd6134a1
Showing with 36 additions and 0 deletions.
  1. +36 −0 wadsrc/static/zscript/level_compatibility.zs
@@ -1478,6 +1478,15 @@ class LevelCompatibility : LevelPostProcessor
break;
}

case '25E178C981BAC28BA586B3B0A2A0FD72': // swan fox doom v2.4.wad map13
{
//Actors with no game mode will now appear
SetThingFlags(0, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
for(int i = 2; i < 452; i++)
SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
break;
}

case 'FDFB3D209CC0F3706AAF3E51646003D5': // swan fox doom v2.4.wad map23
{
//Fix the exit portal to allow walking into it instead of shooting it
@@ -1486,6 +1495,24 @@ class LevelCompatibility : LevelPostProcessor
ClearLineSpecial(2010);
break;
}

case 'BC969ED0191CCD9B69B316864362B0D7': // swan fox doom v2.4.wad map24
{
//Actors with no game mode will now appear
for(int i = 1; i < 88; i++)
SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
break;
}

case 'ED740248422026326650F6A4BC1C0A5A': // swan fox doom v2.4.wad map25
{
//Actors with no game mode will now appear
for(int i = 0; i < 8; i++)
SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
for(int i = 9; i < 26; i++)
SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
break;
}

case '52F532F95E2D5862E56F7214FA5C5C59': // Toon Doom II (toon2b.wad) map10
{
@@ -1661,6 +1688,15 @@ class LevelCompatibility : LevelPostProcessor
OffsetSectorPlane(65, Sector.ceiling, 8);
break;
}

case '75E2685CA8AB29108DBF1AC98C5450AC': // Ancient Beliefs (beliefs.wad) map01
{
//Actors with no game mode will now appear
SetThingFlags(0, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
for(int i = 2; i < 7; i++)
SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH);
break;
}
}
}
}

0 comments on commit 4d8dfd2

Please sign in to comment.
You can’t perform that action at this time.