aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/carry/arm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/carry/arm.cpp')
-rw-r--r--engines/titanic/carry/arm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/carry/arm.cpp b/engines/titanic/carry/arm.cpp
index e7d340d6cb..6b0d7b01e6 100644
--- a/engines/titanic/carry/arm.cpp
+++ b/engines/titanic/carry/arm.cpp
@@ -116,7 +116,7 @@ bool CArm::UseWithOtherMsg(CUseWithOtherMsg *msg) {
hookedMsg._rect.translate(_bounds.left, _bounds.top);
hookedMsg.execute("GondolierLeftLever");
- if (hookedMsg._result) {
+ if (hookedMsg._isHooked) {
_hookedTarget = "GondolierLeftLever";
} else {
petAddToInventory();
@@ -126,7 +126,7 @@ bool CArm::UseWithOtherMsg(CUseWithOtherMsg *msg) {
hookedMsg._rect.translate(_bounds.left, _bounds.top);
hookedMsg.execute("GondolierRightLever");
- if (hookedMsg._result) {
+ if (hookedMsg._isHooked) {
_hookedTarget = "GondolierRightLever";
} else {
petAddToInventory();