From f72ccb972d02adde75ebf1cc8dbb5b687ecaa57c Mon Sep 17 00:00:00 2001 From: athrxx Date: Sun, 17 Feb 2019 00:20:05 +0100 Subject: KYRA: (EOB1/Amiga) - fix environmental sound glitch --- engines/kyra/engine/eobcommon.cpp | 7 ++++--- 1 file 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(); -- cgit v1.2.3