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:
parent
18ecc00d6d
commit
057bdc9b68
1 changed files with 2 additions and 2 deletions
|
@ -2039,7 +2039,7 @@ void mapinput()
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
game.fadetomenu = true;
|
game.fadetomenu = true;
|
||||||
game.fadetomenudelay = 15;
|
game.fadetomenudelay = 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.menupage == 20 && game.press_action)
|
if (game.menupage == 20 && game.press_action)
|
||||||
|
@ -2054,7 +2054,7 @@ void mapinput()
|
||||||
graphics.fademode = 2;
|
graphics.fademode = 2;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
game.fadetolab = true;
|
game.fadetolab = true;
|
||||||
game.fadetolabdelay = 15;
|
game.fadetolabdelay = 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game.menupage < 0) game.menupage = 3;
|
if (game.menupage < 0) game.menupage = 3;
|
||||||
|
|
Loading…
Reference in a new issue