aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));