aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-08 13:11:06 +0000
committerJohannes Schickel2009-03-08 13:11:06 +0000
commit275cf8a383a58262c939b7662f1b7ec02f69cb86 (patch)
tree19c7aed1c658dc6c5dc3c1af9da2494f32250940 /engines/kyra
parent68490c5c1e74b094da946ba53f69bd5faa8b60d7 (diff)
downloadscummvm-rg350-275cf8a383a58262c939b7662f1b7ec02f69cb86.tar.gz
scummvm-rg350-275cf8a383a58262c939b7662f1b7ec02f69cb86.tar.bz2
scummvm-rg350-275cf8a383a58262c939b7662f1b7ec02f69cb86.zip
Cleanup.
svn-id: r39221
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/timer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/kyra/timer.cpp b/engines/kyra/timer.cpp
index fb22854b94..f9bb36206e 100644
--- a/engines/kyra/timer.cpp
+++ b/engines/kyra/timer.cpp
@@ -122,8 +122,6 @@ void TimerManager::update() {
_nextRun += 99999;
for (Iterator pos = _timers.begin(); pos != _timers.end(); ++pos) {
- if (pos->enabled == 1)
-
if (pos->enabled == 1 && pos->countdown >= 0) {
if (pos->nextRun <= _system->getMillis()) {
if (pos->func && pos->func->isValid()) {