[Scummvm-git-logs] scummvm master -> 57cd02b04877d6a6dd78743b4baa5d2b28dcc69a

dreammaster dreammaster at scummvm.org
Mon Nov 7 05:09:08 CET 2016


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:
57cd02b048 TITANIC: Fix hovering cursor for restricted doors


Commit: 57cd02b04877d6a6dd78743b4baa5d2b28dcc69a
    https://github.com/scummvm/scummvm/commit/57cd02b04877d6a6dd78743b4baa5d2b28dcc69a
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-06T23:09:00-05:00

Commit Message:
TITANIC: Fix hovering cursor for restricted doors

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



diff --git a/engines/titanic/moves/restricted_move.cpp b/engines/titanic/moves/restricted_move.cpp
index aed204a..92804d4 100644
--- a/engines/titanic/moves/restricted_move.cpp
+++ b/engines/titanic/moves/restricted_move.cpp
@@ -66,7 +66,7 @@ bool CRestrictedMove::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
 
 bool CRestrictedMove::EnterViewMsg(CEnterViewMsg *msg) {
 	int classNum = getPassengerClass();
-	bool flag = classNum > _classNum;
+	bool flag = classNum <= _classNum;
 
 	if (classNum == UNCHECKED) {
 		if (compareRoomNameTo("EmbLobby"))





More information about the Scummvm-git-logs mailing list