diff options
author | Paul Gilbert | 2014-11-07 22:11:28 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:24:47 -0500 |
commit | 6434ace3b695cc88593547f8079f6abd309b7f72 (patch) | |
tree | 13e5b6295d204349c6ec2f48b11c2cb8ad0d87b7 | |
parent | dc218d53ef9d9b6de11e26e1b793204d416fc9db (diff) | |
download | scummvm-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.cpp | 3 |
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; |