From a94afe41200bcb20c3626ea04844da321fcd96f5 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 27 Apr 2003 09:03:26 +0000 Subject: [PATCH] V2 syntax fix svn-id: r7149 --- scumm/script_v2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 2d88945865c..f984699147d 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -607,9 +607,9 @@ void Scumm_v2::o2_drawObject() { uint16 x, y, w, h; int xpos, ypos; - obj = getVarOrDirectWord(0x80); - xpos = getVarOrDirectWord(0x40); - ypos = getVarOrDirectWord(0x20); + obj = getVarOrDirectByte(0x80); + xpos = getVarOrDirectByte(0x40); + ypos = getVarOrDirectByte(0x20); idx = getObjectIndex(obj); if (idx == -1)