mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Ensure oldcutscenebars is updated when cutscenebarspos is
To do this, I've added Graphics::setbars(), to make sure oldcutscenebarspos always gets assigned when cutscenebarspos is. This fixes potential deltaframe rendering issues if these two mismatch.
This commit is contained in:
@@ -71,8 +71,7 @@ void gamecompletelogic(void)
|
||||
{
|
||||
//Fix some graphical things
|
||||
graphics.showcutscenebars = false;
|
||||
graphics.cutscenebarspos = 0;
|
||||
graphics.oldcutscenebarspos = 0;
|
||||
graphics.setbars(0);
|
||||
graphics.titlebg.scrolldir = 0;
|
||||
graphics.titlebg.bypos = 0;
|
||||
//Return to game
|
||||
@@ -104,7 +103,7 @@ void gamecompletelogic2(void)
|
||||
{
|
||||
//Fix some graphical things
|
||||
graphics.showcutscenebars = false;
|
||||
graphics.cutscenebarspos = 0;
|
||||
graphics.setbars(0);
|
||||
//Fix the save thingy
|
||||
game.deletequick();
|
||||
int tmp=music.currentsong;
|
||||
|
||||
Reference in New Issue
Block a user