aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 25d9372a88..46964052d1 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -719,7 +719,7 @@ void Scumm_v2::o2_drawObject() {
putState(_objs[i].obj_nr, getState(_objs[i].obj_nr) & ~0x08);
}
- putState(obj, getState(_objs[obj].obj_nr) | 0x08);
+ putState(obj, getState(od->obj_nr) | 0x08);
}
void Scumm_v2::o2_resourceRoutines() {