aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/game.cpp')
-rw-r--r--engines/draci/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 9c68d00907..4d4755b419 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -1045,8 +1045,8 @@ void Game::walkHero(int x, int y) {
uint height = frame->getHeight();
uint width = frame->getWidth();
- _persons[kDragonObject]._x = x + (lround(scaleX) * width) / 2;
- _persons[kDragonObject]._y = y - lround(scaleY) * height;
+ _persons[kDragonObject]._x = x + (floor(scaleX) * width) / 2;
+ _persons[kDragonObject]._y = y - floor(scaleY) * height;
// Set the per-animation scaling factor
anim->setScaleFactors(scaleX, scaleY);