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:
Misa
2021-03-19 23:08:35 -07:00
committed by Ethan Lee
parent 9e2716b253
commit f22756dd99
5 changed files with 15 additions and 14 deletions

View File

@@ -3219,8 +3219,7 @@ void Game::updatestate(void)
map.final_colorframe = 0;
map.finalstretch = false;
graphics.cutscenebarspos = 320;
graphics.oldcutscenebarspos = 320;
graphics.setbars(320);
teleport_to_new_area = true;
teleportscript = "gamecomplete";