From 7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 29 Sep 2019 16:57:44 +0200 Subject: MACVENTURE: Initialize engine variables earlier --- engines/macventure/macventure.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp index 39740fdd6c..fb1ddc1b32 100644 --- a/engines/macventure/macventure.cpp +++ b/engines/macventure/macventure.cpp @@ -148,6 +148,8 @@ Common::Error MacVentureEngine::run() { debug("MacVenture::MacVentureEngine::init()"); initGraphics(kScreenWidth, kScreenHeight); + setInitialFlags(); + _debugger = new Console(this); // Additional setup. @@ -177,8 +179,6 @@ Common::Error MacVentureEngine::run() { _soundManager = new SoundManager(this, _mixer); - setInitialFlags(); - int directSaveSlotLoading = ConfMan.getInt("save_slot"); if (directSaveSlotLoading >= 0) { if (loadGameState(directSaveSlotLoading).getCode() != Common::kNoError) { -- cgit v1.2.3