aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-30 14:25:07 -0400
committerPaul Gilbert2014-08-30 14:25:07 -0400
commitbe8d719a1a882792d3a28a2eb0f98f9ce442bbfd (patch)
treee62a7355d348020ba03d4517c41ee36302968fcc /engines/access
parent67e52da359e41c350f8d79cfae3453ca70b8e6d3 (diff)
downloadscummvm-rg350-be8d719a1a882792d3a28a2eb0f98f9ce442bbfd.tar.gz
scummvm-rg350-be8d719a1a882792d3a28a2eb0f98f9ce442bbfd.tar.bz2
scummvm-rg350-be8d719a1a882792d3a28a2eb0f98f9ce442bbfd.zip
ACCESS: Fix ending game when a conversation is active
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;
}