[Scummvm-git-logs] scummvm master -> 0a2786164e9ce9eca876d616a2781b6867ac42e6

dreammaster dreammaster at scummvm.org
Wed Apr 5 04:32:11 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:
0a2786164e TITANIC: Fix setup of Y_AXIS rotation matrix


Commit: 0a2786164e9ce9eca876d616a2781b6867ac42e6
    https://github.com/scummvm/scummvm/commit/0a2786164e9ce9eca876d616a2781b6867ac42e6
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-04-04T22:32:01-04:00

Commit Message:
TITANIC: Fix setup of Y_AXIS rotation matrix

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


diff --git a/engines/titanic/star_control/star_control_sub6.cpp b/engines/titanic/star_control/star_control_sub6.cpp
index db9c4e5..7d9cee4 100644
--- a/engines/titanic/star_control/star_control_sub6.cpp
+++ b/engines/titanic/star_control/star_control_sub6.cpp
@@ -110,7 +110,7 @@ void CStarControlSub6::setRotationMatrix(Axis axis, double amount) {
 		_row2._z = 0.0;
 		_row3._x = -sinVal;
 		_row3._y = 0.0;
-		_row3._z = sinVal;
+		_row3._z = cosVal;
 		break;
 
 	case Z_AXIS:





More information about the Scummvm-git-logs mailing list