From d7b241abdc6d8ffb7e2ecdcc8e0548abb4dff110 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 1 Jul 2017 22:59:55 +0200 Subject: MOHAWK: Check the Office island external commands against the original --- engines/mohawk/riven_stack.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mohawk/riven_stack.cpp') 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(); } -- cgit v1.2.3