diff options
author | Paul Gilbert | 2014-10-31 20:34:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:18:29 -0500 |
commit | 59c4c93c005896389915c1022634e5dd041e268a (patch) | |
tree | 909e767f223b3a3d6da993d83820a5dc0d3fd395 | |
parent | e9c003f30648936e58253dca2e72173757d2ff80 (diff) | |
download | scummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.tar.gz scummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.tar.bz2 scummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.zip |
ACCESS: Add needed event polling to cmdCheckTimer
-rw-r--r-- | engines/access/scripts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp index 0b2150a5a6..85c714f4a8 100644 --- a/engines/access/scripts.cpp +++ b/engines/access/scripts.cpp @@ -414,6 +414,7 @@ void Scripts::cmdSetTimer() { void Scripts::cmdCheckTimer() { int idx = _data->readUint16LE(); + _vm->_events->pollEvents(); if ((idx == 9) && (_vm->_events->_keypresses.size() > 0)) { _vm->_events->zeroKeys(); _vm->_timers[9]._timer = 0; |