mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
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.
This commit is contained in:
parent
2e0f7a0979
commit
4d8dfd2437
1 changed files with 36 additions and 0 deletions
|
@ -1478,6 +1478,15 @@ class LevelCompatibility : LevelPostProcessor
|
||||||
break;
|
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
|
case 'FDFB3D209CC0F3706AAF3E51646003D5': // swan fox doom v2.4.wad map23
|
||||||
{
|
{
|
||||||
//Fix the exit portal to allow walking into it instead of shooting it
|
//Fix the exit portal to allow walking into it instead of shooting it
|
||||||
|
@ -1486,6 +1495,24 @@ class LevelCompatibility : LevelPostProcessor
|
||||||
ClearLineSpecial(2010);
|
ClearLineSpecial(2010);
|
||||||
break;
|
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
|
case '52F532F95E2D5862E56F7214FA5C5C59': // Toon Doom II (toon2b.wad) map10
|
||||||
{
|
{
|
||||||
|
@ -1661,6 +1688,15 @@ class LevelCompatibility : LevelPostProcessor
|
||||||
OffsetSectorPlane(65, Sector.ceiling, 8);
|
OffsetSectorPlane(65, Sector.ceiling, 8);
|
||||||
break;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue