diff options
author | athrxx | 2019-02-17 00:20:05 +0100 |
---|---|---|
committer | athrxx | 2019-03-06 20:48:22 +0100 |
commit | f72ccb972d02adde75ebf1cc8dbb5b687ecaa57c (patch) | |
tree | 533eca221a5fc0f84b9e2bc8a615c455cac138ca /engines | |
parent | 946597d3b293fa75d7f0a39f345ad07a36052bd1 (diff) | |
download | scummvm-rg350-f72ccb972d02adde75ebf1cc8dbb5b687ecaa57c.tar.gz scummvm-rg350-f72ccb972d02adde75ebf1cc8dbb5b687ecaa57c.tar.bz2 scummvm-rg350-f72ccb972d02adde75ebf1cc8dbb5b687ecaa57c.zip |
KYRA: (EOB1/Amiga) - fix environmental sound glitch
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/engine/eobcommon.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/kyra/engine/eobcommon.cpp b/engines/kyra/engine/eobcommon.cpp index 9b15c601a8..198fc5ed20 100644 --- a/engines/kyra/engine/eobcommon.cpp +++ b/engines/kyra/engine/eobcommon.cpp @@ -574,9 +574,9 @@ Common::Error EoBCoreEngine::go() { action = 0; if (_gameToLoad != -1) { + startupLoad(); if (loadGameState(_gameToLoad).getCode() != Common::kNoError) error("Couldn't load game slot %d on startup", _gameToLoad); - startupLoad(); _gameToLoad = -1; } else { _screen->showMouse(); @@ -585,9 +585,10 @@ Common::Error EoBCoreEngine::go() { if (action == -1) { // load game + startupLoad(); repeatLoop = _gui->runLoadMenu(72, 14); - if (repeatLoop && !shouldQuit()) - startupLoad(); + //if (!repeatLoop && !shouldQuit()) + } else if (action == -2) { // new game repeatLoop = startCharacterGeneration(); |