diff options
author | Paul Gilbert | 2017-01-03 02:08:26 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-03 02:08:26 -0500 |
commit | aa65b56099efed9447259de3d27c446bc113ec41 (patch) | |
tree | 97c8c59e6532e55df07474c0e75994accb5190a8 /engines/titanic/game/pickup | |
parent | 8d245d39599252f5a1f3b56303e4b8f8d7529fcc (diff) | |
download | scummvm-rg350-aa65b56099efed9447259de3d27c446bc113ec41.tar.gz scummvm-rg350-aa65b56099efed9447259de3d27c446bc113ec41.tar.bz2 scummvm-rg350-aa65b56099efed9447259de3d27c446bc113ec41.zip |
TITANIC: Make hose visible when dragging it
Diffstat (limited to 'engines/titanic/game/pickup')
-rw-r--r-- | engines/titanic/game/pickup/pick_up_hose.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/pickup/pick_up_hose.cpp b/engines/titanic/game/pickup/pick_up_hose.cpp index 6b7419e403..442c43f9b0 100644 --- a/engines/titanic/game/pickup/pick_up_hose.cpp +++ b/engines/titanic/game/pickup/pick_up_hose.cpp @@ -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"); |