aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon
diff options
context:
space:
mode:
authorEugene Sandulenko2019-11-13 12:30:06 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit7772850f300a41209c007c3d6bf577e0df50fc0d (patch)
tree07c9c263ad56726d2dcdc8bf11f37613e09069b4 /engines/griffon
parent3d6e22ec37f6fc7ca98eff857da0db8a78c2bf0c (diff)
downloadscummvm-rg350-7772850f300a41209c007c3d6bf577e0df50fc0d.tar.gz
scummvm-rg350-7772850f300a41209c007c3d6bf577e0df50fc0d.tar.bz2
scummvm-rg350-7772850f300a41209c007c3d6bf577e0df50fc0d.zip
GRIFFON: Fix GMM loading from options and title
Diffstat (limited to 'engines/griffon')
-rw-r--r--engines/griffon/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp
index 89c487cb13..847377a024 100644
--- a/engines/griffon/dialogs.cpp
+++ b/engines/griffon/dialogs.cpp
@@ -211,7 +211,7 @@ void GriffonEngine::title(int mode) {
}
g_system->delayMillis(10);
- } while (!_shouldQuit && !exitTitle);
+ } while (!_shouldQuit && !exitTitle && _gameMode != kGameModeNewGame && _gameMode != kGameModeLoadGame);
_itemTicks = _ticks + 210;
@@ -464,7 +464,7 @@ void GriffonEngine::configMenu() {
g_system->updateScreen();
g_system->delayMillis(10);
- } while (!_shouldQuit && !exitMenu);
+ } while (!_shouldQuit && !exitMenu && _gameMode != kGameModeNewGame && _gameMode != kGameModeLoadGame);
_cloudImg->setAlpha(64, true);