aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-03-24 07:18:16 +0000
committerFlorian Kagerer2009-03-24 07:18:16 +0000
commite9b4124f1d82f0bfcafdbbb40797c7d767e16c91 (patch)
treea3fd0c3b667f853e41462ccab153876a9ebeaf86 /engines/kyra/timer_lol.cpp
parent74a82ef4273aec05cb3fcefa4b77ab8a57cdc863 (diff)
downloadscummvm-rg350-e9b4124f1d82f0bfcafdbbb40797c7d767e16c91.tar.gz
scummvm-rg350-e9b4124f1d82f0bfcafdbbb40797c7d767e16c91.tar.bz2
scummvm-rg350-e9b4124f1d82f0bfcafdbbb40797c7d767e16c91.zip
LOL: - implemented lots of opcodes and fixed a few bugs
- it's now possible to leave the castle svn-id: r39653
Diffstat (limited to 'engines/kyra/timer_lol.cpp')
-rw-r--r--engines/kyra/timer_lol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp
index 96344b0472..c6ed885a29 100644
--- a/engines/kyra/timer_lol.cpp
+++ b/engines/kyra/timer_lol.cpp
@@ -117,9 +117,9 @@ void LoLEngine::timerSub3(int timerNum) {
void LoLEngine::timerProcessFlyingObjects(int timerNum) {
for (int i = 0; i < 8; i++) {
- if (!_flyingItems[i].enable)
+ if (!_flyingObjects[i].enable)
continue;
- updateFlyingObjects(&_flyingItems[i]);
+ updateFlyingObjects(&_flyingObjects[i]);
}
}