aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon
diff options
context:
space:
mode:
authorEugene Sandulenko2019-11-08 18:13:48 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commitf1eabe26f5d20e31c29d90f16a3002f8395b5b85 (patch)
tree23a870cc8b2902bc39abaeb1edd18631307b7558 /engines/griffon
parenta28bf11ca62e1b2171f5c4898be7c8598c84dbde (diff)
downloadscummvm-rg350-f1eabe26f5d20e31c29d90f16a3002f8395b5b85.tar.gz
scummvm-rg350-f1eabe26f5d20e31c29d90f16a3002f8395b5b85.tar.bz2
scummvm-rg350-f1eabe26f5d20e31c29d90f16a3002f8395b5b85.zip
GRIFFON: More work on game states
Diffstat (limited to 'engines/griffon')
-rw-r--r--engines/griffon/dialogs.cpp2
-rw-r--r--engines/griffon/griffon.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp
index d149a8d199..094d88738a 100644
--- a/engines/griffon/dialogs.cpp
+++ b/engines/griffon/dialogs.cpp
@@ -186,7 +186,7 @@ void GriffonEngine::title(int mode) {
saveLoadNew();
- if (_gameMode == kGameModeNewGame) {
+ if (_gameMode == kGameModeNewGame || _gameMode == kGameModeLoadGame) {
exitTitle = true;
}
break;
diff --git a/engines/griffon/griffon.cpp b/engines/griffon/griffon.cpp
index 264d0f0c6e..74517b47ae 100644
--- a/engines/griffon/griffon.cpp
+++ b/engines/griffon/griffon.cpp
@@ -157,9 +157,6 @@ Common::Error GriffonEngine::run() {
loadMap(_curMap);
mainLoop();
}
-
- if (!_shouldQuit && _gameMode != kGameModeEnd)
- saveLoadNew();
}
return Common::kNoError;