From a08e731a39a111fe570d9beda92ce53ffccf769b Mon Sep 17 00:00:00 2001 From: Info Teddy Date: Mon, 3 Feb 2020 18:53:30 -0800 Subject: [PATCH] Fix Prize for the Reckless moving platform kludge happening in customs If you died in (11,7) and a moving platform was to the left of the line x=152, even if it was moving vertically it would get snapped to x=152, in custom levels. Surprised nobody has ran into this before (although people have ran into the other kludge, which is placing tile 59 at [18,9] if you're in a room on either the line x=11 or y=7). --- desktop_version/src/Logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index dc5c8a69..1671bcb9 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -576,7 +576,7 @@ void gamelogic(Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music { for (int i = 0; i < obj.nentity; i++) { - if (game.roomx == 111 && game.roomy == 107) + if (game.roomx == 111 && game.roomy == 107 && !map.custommode) { if (obj.entities[i].type == 1) {