aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stack.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-01 22:59:55 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commitd7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110 (patch)
tree52394f79d79393671ffdb675cc00ff5c8111a24c /engines/mohawk/riven_stack.cpp
parent8ad53851bcf745da720f3f0da9e204da4716b7f2 (diff)
downloadscummvm-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.cpp4
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();
}