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

dreammaster dreammaster at scummvm.org
Tue Jan 3 21:34:02 CET 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:
d490e11d4c TITANIC: Fix implemenations of mouse down/up in CStartAction


Commit: d490e11d4c90ed530eedb56e941683c1a7008987
    https://github.com/scummvm/scummvm/commit/d490e11d4c90ed530eedb56e941683c1a7008987
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-03T15:33:53-05:00

Commit Message:
TITANIC: Fix implemenations of mouse down/up in CStartAction

Changed paths:
    engines/titanic/game/start_action.cpp


diff --git a/engines/titanic/game/start_action.cpp b/engines/titanic/game/start_action.cpp
index ab356ea..c4f8db8 100644
--- a/engines/titanic/game/start_action.cpp
+++ b/engines/titanic/game/start_action.cpp
@@ -50,14 +50,13 @@ void CStartAction::load(SimpleFile *file) {
 }
 
 bool CStartAction::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
-	// Dispatch the desired action to the desired target
-	CActMsg actMsg(_msgAction);
-	actMsg.execute(_msgTarget);
-
 	return true;
 }
 
 bool CStartAction::MouseButtonUpMsg(CMouseButtonUpMsg *msg) {
+	// Dispatch the desired action to the desired target
+	CActMsg actMsg(_msgAction);
+	actMsg.execute(_msgTarget);
 	return true;
 }
 





More information about the Scummvm-git-logs mailing list