aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-11 21:24:19 -0500
committerPaul Gilbert2017-01-11 21:24:19 -0500
commit6cea9c4382e8f628415bb626b12cbdd09ca7ba1a (patch)
tree5226ed31862c6d9a67c49fcf79d5b1cf84f81717
parentaeb05bd965a094e48f38a1d401dd7872928d7478 (diff)
downloadscummvm-rg350-6cea9c4382e8f628415bb626b12cbdd09ca7ba1a.tar.gz
scummvm-rg350-6cea9c4382e8f628415bb626b12cbdd09ca7ba1a.tar.bz2
scummvm-rg350-6cea9c4382e8f628415bb626b12cbdd09ca7ba1a.zip
TITANIC: Fix leaving restaurant table close-up
-rw-r--r--engines/titanic/moves/restaurant_pan_handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/moves/restaurant_pan_handler.cpp b/engines/titanic/moves/restaurant_pan_handler.cpp
index d93e331254..58305fd6b8 100644
--- a/engines/titanic/moves/restaurant_pan_handler.cpp
+++ b/engines/titanic/moves/restaurant_pan_handler.cpp
@@ -55,8 +55,8 @@ bool CRestaurantPanHandler::ArmPickedUpFromTableMsg(CArmPickedUpFromTableMsg *ms
}
bool CRestaurantPanHandler::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
- _destination = _armPickedUp ? _armDestination : _armlessDestination;
- changeView(_destination);
+ CString clipName = _armPickedUp ? _armDestination : _armlessDestination;
+ changeView(_destination, clipName);
return true;
}