aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-07 22:11:28 -0500
committerPaul Gilbert2014-12-12 22:24:47 -0500
commit6434ace3b695cc88593547f8079f6abd309b7f72 (patch)
tree13e5b6295d204349c6ec2f48b11c2cb8ad0d87b7
parentdc218d53ef9d9b6de11e26e1b793204d416fc9db (diff)
downloadscummvm-rg350-6434ace3b695cc88593547f8079f6abd309b7f72.tar.gz
scummvm-rg350-6434ace3b695cc88593547f8079f6abd309b7f72.tar.bz2
scummvm-rg350-6434ace3b695cc88593547f8079f6abd309b7f72.zip
ACCESS: Fix not being able to save in room 9
-rw-r--r--engines/access/scripts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index bf58a20eef..e99af4b2f6 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -414,7 +414,10 @@ void Scripts::cmdSetTimer() {
void Scripts::cmdCheckTimer() {
int idx = _data->readUint16LE();
+ _vm->_canSaveLoad = true;
_vm->_events->pollEvents();
+ _vm->_canSaveLoad = false;
+
if ((idx == 9) && (_vm->_events->_keypresses.size() > 0)) {
_vm->_events->zeroKeys();
_vm->_timers[9]._timer = 0;