[Scummvm-git-logs] scummvm master -> 12fe1ae78fd4044917ef0cd57ae173e488096b6e

dreammaster dreammaster at scummvm.org
Mon Dec 19 03:24: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:
12fe1ae78f TITANIC: Fix stick being visible when dragging it to the inventory


Commit: 12fe1ae78fd4044917ef0cd57ae173e488096b6e
    https://github.com/scummvm/scummvm/commit/12fe1ae78fd4044917ef0cd57ae173e488096b6e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-12-18T21:24:06-05:00

Commit Message:
TITANIC: Fix stick being visible when dragging it to the inventory

Changed paths:
    engines/titanic/core/drop_target.cpp


diff --git a/engines/titanic/core/drop_target.cpp b/engines/titanic/core/drop_target.cpp
index 13a31c3..8165d58 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;





More information about the Scummvm-git-logs mailing list