aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-31 20:34:32 -0400
committerPaul Gilbert2014-12-12 22:18:29 -0500
commit59c4c93c005896389915c1022634e5dd041e268a (patch)
tree909e767f223b3a3d6da993d83820a5dc0d3fd395 /engines
parente9c003f30648936e58253dca2e72173757d2ff80 (diff)
downloadscummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.tar.gz
scummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.tar.bz2
scummvm-rg350-59c4c93c005896389915c1022634e5dd041e268a.zip
ACCESS: Add needed event polling to cmdCheckTimer
Diffstat (limited to 'engines')
-rw-r--r--engines/access/scripts.cpp1
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;