From 10e3e4811cb930dcfc5a5e6422b07b7a6f24ef67 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 2 Jul 2015 19:21:10 -0400 Subject: [PATCH] SHERLOCK: RT: Fix moving too far vertically when walking --- engines/sherlock/tattoo/tattoo_people.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp index 42a7d26a7de..f22ce87574c 100644 --- a/engines/sherlock/tattoo/tattoo_people.cpp +++ b/engines/sherlock/tattoo/tattoo_people.cpp @@ -454,11 +454,11 @@ void TattooPerson::setWalking() { // and set the delta Y depending on the direction if (_walkDest.y < (_position.y / FIXED_INT_MULTIPLIER)) { _sequenceNumber = WALK_UP; - _delta.y = speed.y * -FIXED_INT_MULTIPLIER; + _delta.y = speed.y * -(FIXED_INT_MULTIPLIER / 10); } else { speed.y = diagSpeed.y; _sequenceNumber = WALK_DOWN; - _delta.y = speed.y * FIXED_INT_MULTIPLIER; + _delta.y = speed.y * (FIXED_INT_MULTIPLIER / 10); } // Set the delta x