From 4d8dfd2437e02601f6ee326cdd196ca4bd6134a1 Mon Sep 17 00:00:00 2001 From: Ed the Bat Date: Sun, 24 Nov 2019 16:17:58 -0500 Subject: [PATCH] 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. --- wadsrc/static/zscript/level_compatibility.zs | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/wadsrc/static/zscript/level_compatibility.zs b/wadsrc/static/zscript/level_compatibility.zs index 20356935b..36b828c1d 100644 --- a/wadsrc/static/zscript/level_compatibility.zs +++ b/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; + } } } }