mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user