[Scummvm-git-logs] scummvm master -> 925c5f2d33d57be79bda8270bbd2f69fa46ffd4d

dreammaster dreammaster at scummvm.org
Fri Jun 23 03:41:22 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:
925c5f2d33 TITANIC: Fixes to destinations when exiting the lifts


Commit: 925c5f2d33d57be79bda8270bbd2f69fa46ffd4d
    https://github.com/scummvm/scummvm/commit/925c5f2d33d57be79bda8270bbd2f69fa46ffd4d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-22T21:41:14-04:00

Commit Message:
TITANIC: Fixes to destinations when exiting the lifts

Changed paths:
    engines/titanic/moves/exit_lift.cpp


diff --git a/engines/titanic/moves/exit_lift.cpp b/engines/titanic/moves/exit_lift.cpp
index 3eb990a..f341f3b 100644
--- a/engines/titanic/moves/exit_lift.cpp
+++ b/engines/titanic/moves/exit_lift.cpp
@@ -71,12 +71,12 @@ bool CExitLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
 		}
 	} else if (floorNum > 19) {
 		switch (elevNum) {
-		case 0:
-		case 2:
-			_viewName = "2ndClassLobby.Node 8.N";
-			break;
 		case 1:
 		case 3:
+			_viewName = "2ndClassLobby.Node 8.N";
+			break;
+		case 2:
+		case 4:
 			_viewName = "2ndClassLobby.Node 1.N";
 			break;
 		default:
@@ -84,12 +84,12 @@ bool CExitLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
 		}
 	} else if (floorNum > 1) {
 		switch (elevNum) {
-		case 0:
-		case 2:
-			_viewName = "1stClassLobby.Node 1.W";
-			break;
 		case 1:
 		case 3:
+			_viewName = "1stClassLobby.Node 1.W";
+			break;
+		case 2:
+		case 4:
 			_viewName = "1stClassLobby.Node 1.E";
 			break;
 		default:
@@ -97,16 +97,16 @@ bool CExitLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
 		}
 	} else {
 		switch (elevNum) {
-		case 0:
+		case 1:
 			_viewName = "TopOfWell.Node 6.E";
 			break;
-		case 1:
+		case 2:
 			_viewName = "TopOfWell.Node 6.W";
 			break;
-		case 2:
+		case 3:
 			_viewName = "TopOfWell.Node 10.W";
 			break;
-		case 3:
+		case 4:
 			_viewName = "TopOfWell.Node 10.E";
 			break;
 		default:





More information about the Scummvm-git-logs mailing list