mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-31 22:19:44 +01: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:
parent
3ce442459e
commit
27b28ca55e
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue