[Scummvm-git-logs] scummvm master -> d761a77236a9f181738bbbab88660d6ccf959a79

dreammaster dreammaster at scummvm.org
Wed Jun 7 05:03:51 CEST 2017


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:
d761a77236 TITANIC: 2nd marker lock on now working


Commit: d761a77236a9f181738bbbab88660d6ccf959a79
    https://github.com/scummvm/scummvm/commit/d761a77236a9f181738bbbab88660d6ccf959a79
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-06T23:03:41-04:00

Commit Message:
TITANIC: 2nd marker lock on now working

Changed paths:
    engines/titanic/star_control/star_control_sub27.cpp


diff --git a/engines/titanic/star_control/star_control_sub27.cpp b/engines/titanic/star_control/star_control_sub27.cpp
index 1212581..d45bee6 100644
--- a/engines/titanic/star_control/star_control_sub27.cpp
+++ b/engines/titanic/star_control/star_control_sub27.cpp
@@ -44,7 +44,7 @@ void CStarControlSub27::proc2(const FVector &oldPos, const FVector &newPos,
 			_transitionPercentInc = 0.1;
 			_active = true;
 		} else {
-			_transitionPercentInc = 1.0 / distance;
+			_transitionPercentInc = 1.0 / _field4C;
 			_active = true;
 		}
 	}





More information about the Scummvm-git-logs mailing list