diff options
Diffstat (limited to 'engines/scumm/object.cpp')
-rw-r--r-- | engines/scumm/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/object.cpp b/engines/scumm/object.cpp index b3c3b9cb8a..783cbdea6b 100644 --- a/engines/scumm/object.cpp +++ b/engines/scumm/object.cpp @@ -413,8 +413,8 @@ void ScummEngine::getObjectXYPos(int object, int &x, int &y, int &dir) { y = od.y_pos + (int16)READ_LE_UINT16(&imhd->old.hotspot[state].y); } } else if (_game.version <= 2) { - x = od.walk_x / V12_X_MULTIPLIER; - y = od.walk_y / V12_Y_MULTIPLIER; + x = od.walk_x >> V12_X_SHIFT; + y = od.walk_y >> V12_Y_SHIFT; } else { x = od.walk_x; y = od.walk_y; |