1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

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.
This commit is contained in:
Misa 2020-11-04 00:53:43 -08:00 committed by Ethan Lee
parent 3ce442459e
commit 27b28ca55e

View File

@ -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();