aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-05-16 23:50:56 +0000
committerMax Horn2003-05-16 23:50:56 +0000
commit92a71eed1003368e70f2f4ffa3ac73120db06bd6 (patch)
tree59c2afdd0c2af5096968dab188d0622a4220c357 /scumm
parent124a34f72a1fd915332b1cdfa64dff7c0f10c027 (diff)
downloadscummvm-rg350-92a71eed1003368e70f2f4ffa3ac73120db06bd6.tar.gz
scummvm-rg350-92a71eed1003368e70f2f4ffa3ac73120db06bd6.tar.bz2
scummvm-rg350-92a71eed1003368e70f2f4ffa3ac73120db06bd6.zip
fixed o2_drawObject (thx MadMoose)
svn-id: r7586
Diffstat (limited to 'scumm')
-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() {