diff options
author | Eugene Sandulenko | 2019-11-06 17:28:57 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-13 22:07:08 +0100 |
commit | f6da6210081d2f272c37fb1bda13931345f27967 (patch) | |
tree | 92a61a588c8e0707e13eb2ff86dace3ece316331 /engines/griffon/dialogs.cpp | |
parent | 4d97f9c65426185f362ebdb0918fd857548c46f8 (diff) | |
download | scummvm-rg350-f6da6210081d2f272c37fb1bda13931345f27967.tar.gz scummvm-rg350-f6da6210081d2f272c37fb1bda13931345f27967.tar.bz2 scummvm-rg350-f6da6210081d2f272c37fb1bda13931345f27967.zip |
GRIFFON: Removed recursiveness on end game
Diffstat (limited to 'engines/griffon/dialogs.cpp')
-rw-r--r-- | engines/griffon/dialogs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp index 0e3e67b328..21d54a0641 100644 --- a/engines/griffon/dialogs.cpp +++ b/engines/griffon/dialogs.cpp @@ -507,6 +507,9 @@ void GriffonEngine::saveLoadNew() { if (curCol == 0) { // NEW GAME newGame(); + + if (_shouldQuit || _gameEnd) + return; } else if (curCol == 1) { // LOAD GAME lowerLock = true; |