aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-22 18:58:50 -0500
committerPaul Gilbert2018-02-23 15:23:20 -0500
commit2f6ca8f45ec6ef8bf86adc3ab60346fa9d14f6a9 (patch)
treebc670d511f79d67cd43fcd4823a3d0d4541c9b59 /engines
parenteca55e500c5cc771c8ba377dee72c798d5da6a65 (diff)
downloadscummvm-rg350-2f6ca8f45ec6ef8bf86adc3ab60346fa9d14f6a9.tar.gz
scummvm-rg350-2f6ca8f45ec6ef8bf86adc3ab60346fa9d14f6a9.tar.bz2
scummvm-rg350-2f6ca8f45ec6ef8bf86adc3ab60346fa9d14f6a9.zip
XEEN: Fix exiting ScummVM when 'Nothing here' dialog is active
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 27d33824fc..9228afba37 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -253,7 +253,7 @@ int Scripts::checkEvents() {
intf.draw3d(true);
events.updateGameCounter();
events.wait(1);
- } while (!events.isKeyMousePressed());
+ } while (!events.isKeyMousePressed() && !_vm->shouldExit());
events.clearEvents();
w.close();