aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_lol.cpp
diff options
context:
space:
mode:
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]);
}
}