diff options
author | Bastien Bouclet | 2017-07-01 22:59:55 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110 (patch) | |
tree | 52394f79d79393671ffdb675cc00ff5c8111a24c /engines/mohawk/riven_stack.cpp | |
parent | 8ad53851bcf745da720f3f0da9e204da4716b7f2 (diff) | |
download | scummvm-rg350-d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110.tar.gz scummvm-rg350-d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110.tar.bz2 scummvm-rg350-d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110.zip |
MOHAWK: Check the Office island external commands against the original
Diffstat (limited to 'engines/mohawk/riven_stack.cpp')
-rw-r--r-- | engines/mohawk/riven_stack.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stack.cpp b/engines/mohawk/riven_stack.cpp index 6fbfa544f5..6fa29912f8 100644 --- a/engines/mohawk/riven_stack.cpp +++ b/engines/mohawk/riven_stack.cpp @@ -224,6 +224,10 @@ void RivenStack::runCredits(uint16 video, uint32 delay) { _vm->_system->delayMillis(10); } + if (_vm->shouldQuit()) { + return; // Allow return to launcher + } + _vm->quitGame(); } |