Skip to content

Commit

Permalink
ACCESS: Add needed event polling to cmdCheckTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent e9c003f commit 59c4c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/access/scripts.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 59c4c93

Please sign in to comment.