[Scummvm-git-logs] scummvm master -> 7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3
sev-
sev at scummvm.org
Sun Sep 29 16:58:09 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7f7730bd7f MACVENTURE: Initialize engine variables earlier
Commit: 7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3
https://github.com/scummvm/scummvm/commit/7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-09-29T16:57:44+02:00
Commit Message:
MACVENTURE: Initialize engine variables earlier
Changed paths:
engines/macventure/macventure.cpp
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp
index 39740fd..fb1ddc1 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) {
More information about the Scummvm-git-logs
mailing list