1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Add 1 to fade-to-menu/lab delay

This fixes an off-by-one interpolation visual bug when exiting to the
menu or lab in over-30-FPS mode.
This commit is contained in:
Misa 2020-05-08 09:54:38 -07:00 committed by Ethan Lee
parent 18ecc00d6d
commit 057bdc9b68

View file

@ -2039,7 +2039,7 @@ void mapinput()
music.fadeout();
map.nexttowercolour();
game.fadetomenu = true;
game.fadetomenudelay = 15;
game.fadetomenudelay = 16;
}
if (game.menupage == 20 && game.press_action)
@ -2054,7 +2054,7 @@ void mapinput()
graphics.fademode = 2;
music.fadeout();
game.fadetolab = true;
game.fadetolabdelay = 15;
game.fadetolabdelay = 16;
}
if (game.menupage < 0) game.menupage = 3;