From 9f6a60c2983be63dfb30c1e5b73ae28a0ee11868 Mon Sep 17 00:00:00 2001 From: Info Teddy Date: Wed, 22 Jan 2020 04:17:43 -0800 Subject: [PATCH] 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. --- desktop_version/src/Script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 591467f5..a88822ea 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -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;