aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-03-03 22:32:39 +0000
committerFlorian Kagerer2009-03-03 22:32:39 +0000
commit3f2af1e8a1f7033846747f744fc0f53875824e4b (patch)
treed1efb50eab843008c796d138d47c7af0a31531f2 /engines/kyra/timer_lol.cpp
parent1956c1c68f4822943a48ae58fcfbdccb44055be4 (diff)
downloadscummvm-rg350-3f2af1e8a1f7033846747f744fc0f53875824e4b.tar.gz
scummvm-rg350-3f2af1e8a1f7033846747f744fc0f53875824e4b.tar.bz2
scummvm-rg350-3f2af1e8a1f7033846747f744fc0f53875824e4b.zip
LOL: implemented some walking code for the monsters
svn-id: r39097
Diffstat (limited to 'engines/kyra/timer_lol.cpp')
-rw-r--r--engines/kyra/timer_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp
index 994c691aa8..6bbb9e6b2c 100644
--- a/engines/kyra/timer_lol.cpp
+++ b/engines/kyra/timer_lol.cpp
@@ -37,7 +37,7 @@ void LoLEngine::setupTimers() {
_timer->addTimer(0, TimerV2(timerProcessOpenDoor), 15, true);
_timer->addTimer(0x10, TimerV2(timerProcessMonsters), 6, true);
_timer->addTimer(0x11, TimerV2(timerProcessMonsters), 6, true);
- _timer->setNextRun(0x11, 3);
+ _timer->setNextRun(0x11, _system->getMillis() + 3 * _tickLength);
_timer->addTimer(3, TimerV2(timerSub3), 15, true);
_timer->addTimer(4, TimerV2(timerSub4), 1, true);
_timer->addTimer(0x50, TimerV2(timerSub5), 0, false);