aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access')
-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 3b03a7ac41..e74b1853a0 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -101,7 +101,7 @@ int Scripts::executeScript() {
assert(_scriptCommand >= 0x80);
executeCommand(_scriptCommand - 0x80);
- } while (!_endFlag);
+ } while (!_endFlag && !_vm->shouldQuit());
return _returnCode;
}