aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/start_action.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-03 15:33:53 -0500
committerPaul Gilbert2017-01-03 15:33:53 -0500
commitd490e11d4c90ed530eedb56e941683c1a7008987 (patch)
tree67940c0e47a81f7603f6d87089a5efdd0d248768 /engines/titanic/game/start_action.cpp
parent4a9c655f839de907507f667c795a6edf01550237 (diff)
downloadscummvm-rg350-d490e11d4c90ed530eedb56e941683c1a7008987.tar.gz
scummvm-rg350-d490e11d4c90ed530eedb56e941683c1a7008987.tar.bz2
scummvm-rg350-d490e11d4c90ed530eedb56e941683c1a7008987.zip
TITANIC: Fix implemenations of mouse down/up in CStartAction
Diffstat (limited to 'engines/titanic/game/start_action.cpp')
-rw-r--r--engines/titanic/game/start_action.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/titanic/game/start_action.cpp b/engines/titanic/game/start_action.cpp
index ab356ea1f4..c4f8db8190 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;
}