From dfe6a09b8c03831f9d46bf629d3181fd193b68a7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers <coelckers@users.noreply.github.com> Date: Tue, 25 May 2021 10:12:51 +0200 Subject: [PATCH] - fix for "Return to Phobos (return01.wad) has an ancient bug in map E1M2 where the switch to raise the exit bridge doesn't work in versions of Doom past patch 1.2." --- wadsrc/static/zscript/level_compatibility.zs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wadsrc/static/zscript/level_compatibility.zs b/wadsrc/static/zscript/level_compatibility.zs index 57dcf5d0f..857c97e9f 100644 --- a/wadsrc/static/zscript/level_compatibility.zs +++ b/wadsrc/static/zscript/level_compatibility.zs @@ -2113,6 +2113,13 @@ class LevelCompatibility : LevelPostProcessor SetLineFlags(1461, Line.ML_REPEAT_SPECIAL); SetLineFlags(1468, Line.ML_REPEAT_SPECIAL); } + + case 'E0D747B9EE58A0CB74B9AD54423AC15C': // return01.wad e1m2 + { + // fix broken switch to raise the exit bridge + SetLineSpecial(1248, Floor_RaiseByValue, 39, 8, 512); + break; + } } } }