diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 42ad8dab1fd..0b2f390e0a8 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -762,7 +762,7 @@ void ScummEngine_v72he::o72_getObjectImageX() { return; } - push(_objs[objnum].x_pos); + push(_objs[objnum].x_pos / 8); } void ScummEngine_v72he::o72_getObjectImageY() { @@ -774,7 +774,7 @@ void ScummEngine_v72he::o72_getObjectImageY() { return; } - push(_objs[objnum].y_pos); + push(_objs[objnum].y_pos / 8); } void ScummEngine_v72he::o72_captureWizImage() { diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index 742a5d96d38..aacc55d1579 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -2005,13 +2005,13 @@ void ScummEngine_v90he::o90_getObjectData() { if (_heObjectNum == -1) push(0); else - push(_objs[_heObjectNum].x_pos); + push(_objs[_heObjectNum].x_pos / 8); break; case 7: if (_heObjectNum == -1) push(0); else - push(_objs[_heObjectNum].y_pos); + push(_objs[_heObjectNum].y_pos / 8); break; case 20: push(getState(_heObject));