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; action = 0;
if (_gameToLoad != -1) { if (_gameToLoad != -1) {
startupLoad();
if (loadGameState(_gameToLoad).getCode() != Common::kNoError) if (loadGameState(_gameToLoad).getCode() != Common::kNoError)
error("Couldn't load game slot %d on startup", _gameToLoad); error("Couldn't load game slot %d on startup", _gameToLoad);
startupLoad();
_gameToLoad = -1; _gameToLoad = -1;
} else { } else {
_screen->showMouse(); _screen->showMouse();
@ -585,9 +585,10 @@ Common::Error EoBCoreEngine::go() {
if (action == -1) { if (action == -1) {
// load game // load game
startupLoad();
repeatLoop = _gui->runLoadMenu(72, 14); repeatLoop = _gui->runLoadMenu(72, 14);
if (repeatLoop && !shouldQuit()) //if (!repeatLoop && !shouldQuit())
startupLoad();
} else if (action == -2) { } else if (action == -2) {
// new game // new game
repeatLoop = startCharacterGeneration(); repeatLoop = startCharacterGeneration();