aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 8237e8a8d1..08a658f1c6 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -351,7 +351,7 @@ void ScummEngine::drawRoomObject(int i, int arg) {
a = od->parentstate;
if (!od->parent) {
// Ignore FlObjects (they are drawn some other place)
- if (od.od.fl_object_index == 0)
+ if (od->fl_object_index == 0)
drawObject(i, arg);
break;
}