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

Reset cutscene bar position in hardreset()

This fixes a bug in the editor where if you had cutscene bars active
while exiting playtesting, when you re-entered playtesting, the bars
would do their closing animation even though they should be already
gone.
This commit is contained in:
Info Teddy 2020-01-22 04:17:43 -08:00 committed by Ethan Lee
parent 31efc9b3ce
commit 9f6a60c298

View file

@ -3501,6 +3501,7 @@ void scriptclass::hardreset( KeyPoll& key, Graphics& dwgfx, Game& game,mapclass&
dwgfx.textboxremovefast();
dwgfx.flipmode = false; //This will be reset if needs be elsewhere
dwgfx.showcutscenebars = false;
dwgfx.cutscenebarspos = 0;
//mapclass
map.warpx = false;