diff options
author | Paul Gilbert | 2015-04-08 21:28:24 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-04-08 21:28:24 -0500 |
commit | 47afe424c194d5d4fd1797948b53f999473fe922 (patch) | |
tree | 35409829bd250525cb5978ad0b5ae9182f8b48de /engines/mads/nebular | |
parent | 83acea8c0d635d09454827118db3c47d6238d209 (diff) | |
download | scummvm-rg350-47afe424c194d5d4fd1797948b53f999473fe922.tar.gz scummvm-rg350-47afe424c194d5d4fd1797948b53f999473fe922.tar.bz2 scummvm-rg350-47afe424c194d5d4fd1797948b53f999473fe922.zip |
MADS: Don't show protection dialog when exiting directly from main menu
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/game_nebular.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp index c96f1c6df9..e9a3d0b716 100644 --- a/engines/mads/nebular/game_nebular.cpp +++ b/engines/mads/nebular/game_nebular.cpp @@ -107,6 +107,9 @@ void GameNebular::startGame() { _vm->_dialogs->showDialog(); } while (!_vm->shouldQuit() && _vm->_dialogs->_pendingDialog != DIALOG_NONE); + if (_vm->shouldQuit()) + return; + _priorSectionNumber = 0; _priorSectionNumber = -1; _scene._priorSceneId = 0; |