aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-04 14:57:28 +0000
committerTravis Howell2005-04-04 14:57:28 +0000
commite46a677c0ee9621cefe82031796c2337b6319d84 (patch)
treef089d6ccbea324fbb1d244a571f10aa8000c89a7
parentf077f357d05015436999e56c517f3a7ab3c0946c (diff)
downloadscummvm-rg350-e46a677c0ee9621cefe82031796c2337b6319d84.tar.gz
scummvm-rg350-e46a677c0ee9621cefe82031796c2337b6319d84.tar.bz2
scummvm-rg350-e46a677c0ee9621cefe82031796c2337b6319d84.zip
Nevermind, only o_getObjectImageX/Y needed adjustment.
svn-id: r17376
-rw-r--r--scumm/script_v90he.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 7e378291fe..e7a66775ac 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -2089,13 +2089,13 @@ void ScummEngine_v90he::o90_getObjectData() {
if (_heObjectNum == -1)
push(0);
else
- push(_objs[_heObjectNum].width / 8);
+ push(_objs[_heObjectNum].width);
break;
case 1:
if (_heObjectNum == -1)
push(0);
else
- push(_objs[_heObjectNum].height / 8);
+ push(_objs[_heObjectNum].height);
break;
case 4:
push(getObjectImageCount(_heObject));
@@ -2104,13 +2104,13 @@ void ScummEngine_v90he::o90_getObjectData() {
if (_heObjectNum == -1)
push(0);
else
- push(_objs[_heObjectNum].x_pos / 8);
+ push(_objs[_heObjectNum].x_pos);
break;
case 7:
if (_heObjectNum == -1)
push(0);
else
- push(_objs[_heObjectNum].y_pos / 8);
+ push(_objs[_heObjectNum].y_pos);
break;
case 20:
push(getState(_heObject));