aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-04-04 14:51:42 +0000
committerTravis Howell2005-04-04 14:51:42 +0000
commitf077f357d05015436999e56c517f3a7ab3c0946c (patch)
tree80dc4da8f7d598d88c72d0b64e764113d4b442a7 /scumm
parent172e558050b1a4ae112e184e0a682da0b4862677 (diff)
downloadscummvm-rg350-f077f357d05015436999e56c517f3a7ab3c0946c.tar.gz
scummvm-rg350-f077f357d05015436999e56c517f3a7ab3c0946c.tar.bz2
scummvm-rg350-f077f357d05015436999e56c517f3a7ab3c0946c.zip
Object width/height should be divded by 8 too.
svn-id: r17375
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v90he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index a6040dbfff..7e378291fe 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);
+ push(_objs[_heObjectNum].width / 8);
break;
case 1:
if (_heObjectNum == -1)
push(0);
else
- push(_objs[_heObjectNum].height);
+ push(_objs[_heObjectNum].height / 8);
break;
case 4:
push(getObjectImageCount(_heObject));