KYRA: (EOB1/Amiga) - fix environmental sound glitch

This commit is contained in:
athrxx 2019-02-17 00:20:05 +01:00
parent 946597d3b2
commit f72ccb972d

View file

@ -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
repeatLoop = _gui->runLoadMenu(72, 14);
if (repeatLoop && !shouldQuit())
startupLoad();
repeatLoop = _gui->runLoadMenu(72, 14);
//if (!repeatLoop && !shouldQuit())
} else if (action == -2) {
// new game
repeatLoop = startCharacterGeneration();