aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-28 14:22:11 -0500
committerPaul Gilbert2014-12-12 22:50:45 -0500
commit740df9b42aac87472353512d2eda796bdd6d3aa3 (patch)
tree725c13a64464d5ece2a0d2e80d5e5a0044fa762e /engines
parenteeb9d63a19ba3a712a8f02ecede554dc992246fe (diff)
downloadscummvm-rg350-740df9b42aac87472353512d2eda796bdd6d3aa3.tar.gz
scummvm-rg350-740df9b42aac87472353512d2eda796bdd6d3aa3.tar.bz2
scummvm-rg350-740df9b42aac87472353512d2eda796bdd6d3aa3.zip
ACCESS: Further tweaks to timer skipping
Diffstat (limited to 'engines')
-rw-r--r--engines/access/events.cpp2
-rw-r--r--engines/access/scripts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/events.cpp b/engines/access/events.cpp
index 8b109ea470..87e5d10cc3 100644
--- a/engines/access/events.cpp
+++ b/engines/access/events.cpp
@@ -201,7 +201,7 @@ bool EventsManager::checkForNextFrameCounter() {
}
void EventsManager::nextFrame(bool skipTimers) {
- if (skipTimers) {
+ if (!skipTimers) {
// Update timers
_vm->_animation->updateTimers();
_vm->_timers.updateTimers();
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index d611b6fe26..72650f472c 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -213,7 +213,7 @@ void Scripts::printString(const Common::String &msg) {
// Wait until the bubble display is expired
while (!_vm->shouldQuit() && _vm->_timers[PRINT_TIMER]._flag) {
- _vm->_events->pollEvents(true);
+ _vm->_events->pollEvents();
}
// Restore the original screen over the text bubble