diff options
author | James Brown | 2003-04-27 09:03:26 +0000 |
---|---|---|
committer | James Brown | 2003-04-27 09:03:26 +0000 |
commit | a94afe41200bcb20c3626ea04844da321fcd96f5 (patch) | |
tree | d0a48711d5cddac1656d0d8b1b12113d125ef505 /scumm/script_v2.cpp | |
parent | caf6d740952a05bc0aac1b0f2c331dbab99451e8 (diff) | |
download | scummvm-rg350-a94afe41200bcb20c3626ea04844da321fcd96f5.tar.gz scummvm-rg350-a94afe41200bcb20c3626ea04844da321fcd96f5.tar.bz2 scummvm-rg350-a94afe41200bcb20c3626ea04844da321fcd96f5.zip |
V2 syntax fix
svn-id: r7149
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 2d88945865..f984699147 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) |