From 27b28ca55e3aeb55f401efb8ac09a44758314985 Mon Sep 17 00:00:00 2001 From: Misa Date: Wed, 4 Nov 2020 00:53:43 -0800 Subject: [PATCH] Fix oldreadytotele not being set in gotoroom() This fixes a deltaframe glitch where the "- Press ENTER to Teleport -" prompt would show up for a split second if you exited the game while the prompt was fully faded in, and then re-entered it. --- desktop_version/src/Map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index 2d11669d..99b110bd 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -887,6 +887,7 @@ void mapclass::gotoroom(int rx, int ry) obj.removeallblocks(); game.activetele = false; game.readytotele = 0; + game.oldreadytotele = 0; //Ok, let's save the position of all lines on the screen obj.linecrosskludge.clear();