Skip to content

Commit

Permalink
TITANIC: Make hose visible when dragging it
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 3, 2017
1 parent 8d245d3 commit aa65b56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/titanic/game/pickup/pick_up_hose.cpp
Expand Up @@ -72,13 +72,13 @@ bool CPickUpHose::MouseDragStartMsg(CMouseDragStartMsg *msg) {

if (hose) {
CVisibleMsg visibleMsg;
visibleMsg.execute(this);
moveUnder(view);
visibleMsg.execute(hose);
hose->moveUnder(view);

CPassOnDragStartMsg passMsg(msg->_mousePos, 1);
passMsg.execute("Hose");

msg->_dragItem = getRoot()->findByName("Hose");
msg->_dragItem = hose;
_cursorId = CURSOR_IGNORE;

CActMsg actMsg("PlayerGetsHose");
Expand Down

0 comments on commit aa65b56

Please sign in to comment.