diff options
author | Einar Johan Trøan Sømåen | 2013-07-27 21:40:27 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-07-27 21:40:27 +0200 |
commit | 28b85375306e08a04360dacf070c496dc5d1dbd2 (patch) | |
tree | 2780a68274af99c02bb5871f0771e8791c76804a /engines/wintermute/wintermute.cpp | |
parent | b43bac61924d053b470125cf77ade6b72a17aeb7 (diff) | |
download | scummvm-rg350-28b85375306e08a04360dacf070c496dc5d1dbd2.tar.gz scummvm-rg350-28b85375306e08a04360dacf070c496dc5d1dbd2.tar.bz2 scummvm-rg350-28b85375306e08a04360dacf070c496dc5d1dbd2.zip |
WINTERMUTE: Respect EVENT_QUIT properly (and don't ask to quit anymore)
Diffstat (limited to 'engines/wintermute/wintermute.cpp')
-rw-r--r-- | engines/wintermute/wintermute.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index 19848b002e..202b261599 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -250,6 +250,9 @@ int WintermuteEngine::messageLoop() { } prevTime = time; } + if (shouldQuit()) { + break; + } if (_game && _game->_quitting) { break; } |