diff options
author | Travis Howell | 2005-03-31 12:58:11 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-31 12:58:11 +0000 |
commit | fc59dcae3e81e0f2620ec5e225aa775904403540 (patch) | |
tree | 59e9b03bfcd55114075eb7451d34b57f0681b6df /scumm/script_v72he.cpp | |
parent | a78e0d0b821ab0c39f58cf0eb7951b8537e1b791 (diff) | |
download | scummvm-rg350-fc59dcae3e81e0f2620ec5e225aa775904403540.tar.gz scummvm-rg350-fc59dcae3e81e0f2620ec5e225aa775904403540.tar.bz2 scummvm-rg350-fc59dcae3e81e0f2620ec5e225aa775904403540.zip |
Return correct object x/y position
svn-id: r17308
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 42ad8dab1f..0b2f390e0a 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() { |