aboutsummaryrefslogtreecommitdiff
path: root/engines/access/scripts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/scripts.cpp')
-rw-r--r--engines/access/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index 0d232cc779..2e4e2adca6 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -193,7 +193,7 @@ void Scripts::cmdPrint() {
_vm->_events->waitKeyMouse();
// Wait until the bubble display is expired
- while (_vm->_timers[PRINT_TIMER]._flag) {
+ while (!_vm->shouldQuit() && _vm->_timers[PRINT_TIMER]._flag) {
_vm->_events->pollEvents();
}