[Scummvm-cvs-logs] scummvm master -> 10e3e4811cb930dcfc5a5e6422b07b7a6f24ef67

dreammaster dreammaster at scummvm.org
Fri Jul 3 01:22:00 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
10e3e4811c SHERLOCK: RT: Fix moving too far vertically when walking


Commit: 10e3e4811cb930dcfc5a5e6422b07b7a6f24ef67
    https://github.com/scummvm/scummvm/commit/10e3e4811cb930dcfc5a5e6422b07b7a6f24ef67
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-02T19:21:10-04:00

Commit Message:
SHERLOCK: RT: Fix moving too far vertically when walking

Changed paths:
    engines/sherlock/tattoo/tattoo_people.cpp



diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index 42a7d26..f22ce87 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






More information about the Scummvm-git-logs mailing list