diff options
-rw-r--r-- | engines/access/scripts.cpp | 2 |
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; } |