aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-18 21:24:06 -0500
committerPaul Gilbert2016-12-18 21:24:06 -0500
commit12fe1ae78fd4044917ef0cd57ae173e488096b6e (patch)
tree487e5468130eca900066b69d27dc366015f112d2 /engines/titanic
parentb639f5389f7da26d113d103dd64faecfa7846696 (diff)
downloadscummvm-rg350-12fe1ae78fd4044917ef0cd57ae173e488096b6e.tar.gz
scummvm-rg350-12fe1ae78fd4044917ef0cd57ae173e488096b6e.tar.bz2
scummvm-rg350-12fe1ae78fd4044917ef0cd57ae173e488096b6e.zip
TITANIC: Fix stick being visible when dragging it to the inventory
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/core/drop_target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/drop_target.cpp b/engines/titanic/core/drop_target.cpp
index 13a31c3f8a..8165d58f8d 100644
--- a/engines/titanic/core/drop_target.cpp
+++ b/engines/titanic/core/drop_target.cpp
@@ -134,7 +134,7 @@ bool CDropTarget::MouseDragStartMsg(CMouseDragStartMsg *msg) {
msg->_dragItem = obj;
CPassOnDragStartMsg passMsg(msg->_mousePos, 1);
passMsg.execute(obj);
- setVisible(true);
+ obj->setVisible(true);
}
return true;