aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v2.cpp')
-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 ec364cdbb5..f1659ba66c 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -655,7 +655,7 @@ void Scumm_v2::o2_drawObject() {
uint16 x, y, w, h;
int xpos, ypos;
- obj = getVarOrDirectByte(0x80);
+ obj = getVarOrDirectWord(0x80);
xpos = getVarOrDirectByte(0x40);
ypos = getVarOrDirectByte(0x20);