aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-20 21:09:10 -0500
committerPaul Gilbert2016-12-20 21:09:10 -0500
commit03c15ad01cd5ebf5a55e4ae2c8ec5e803ab8c752 (patch)
tree2d0fe67a3f46c4f379ea7d00f11f9b67ffedc7d2
parent65a2e906a89033f4b96fbf3c1581e60c6f1e0207 (diff)
downloadscummvm-rg350-03c15ad01cd5ebf5a55e4ae2c8ec5e803ab8c752.tar.gz
scummvm-rg350-03c15ad01cd5ebf5a55e4ae2c8ec5e803ab8c752.tar.bz2
scummvm-rg350-03c15ad01cd5ebf5a55e4ae2c8ec5e803ab8c752.zip
TITANIC: Re-enable mouse after dragging parrot into inventory
-rw-r--r--engines/titanic/carry/carry_parrot.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/titanic/carry/carry_parrot.cpp b/engines/titanic/carry/carry_parrot.cpp
index ed86384147..cbc8028606 100644
--- a/engines/titanic/carry/carry_parrot.cpp
+++ b/engines/titanic/carry/carry_parrot.cpp
@@ -105,10 +105,7 @@ bool CCarryParrot::MouseDragEndMsg(CMouseDragEndMsg *msg) {
if (msg->_mousePos.y >= 360) {
petAddToInventory();
- return true;
- }
-
- if (compareViewNameTo("ParrotLobby.Node 1.N")) {
+ } else if (compareViewNameTo("ParrotLobby.Node 1.N")) {
if (msg->_mousePos.x >= 75 && msg->_mousePos.x <= 565 &&
!CParrot::_v2 && !CCage::_open) {
setVisible(false);