aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/carry
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-30 22:25:01 -0400
committerPaul Gilbert2017-07-30 22:25:01 -0400
commit1d089da054e17b01c8f91decf4169ea9b92cc4c7 (patch)
tree4b577bec3d7e8351e37050f4ebe2f429135c9166 /engines/titanic/carry
parent1cb265f8da8fa38c8105a15b04508a80f1c3ebe3 (diff)
downloadscummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.tar.gz
scummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.tar.bz2
scummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.zip
TITANIC: Fix Long Stick not returning to inventory in Arboretum
Diffstat (limited to 'engines/titanic/carry')
-rw-r--r--engines/titanic/carry/long_stick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/carry/long_stick.cpp b/engines/titanic/carry/long_stick.cpp
index 5eb468fbd9..cfd203a9a9 100644
--- a/engines/titanic/carry/long_stick.cpp
+++ b/engines/titanic/carry/long_stick.cpp
@@ -47,16 +47,16 @@ bool CLongStick::UseWithOtherMsg(CUseWithOtherMsg *msg) {
if (msg->_other->isEquals("SpeechCentre")) {
CPuzzleSolvedMsg puzzleMsg;
puzzleMsg.execute(msg->_other);
- } else if (msg->_other->isEquals("LongStickDispensor")) {
+ } else if (msg->_other->isEquals("LongStickDispenser")) {
petDisplayMessage(1, ALREADY_HAVE_STICK);
} else if (msg->_other->isEquals("Bomb")) {
CActMsg actMsg("Hit");
actMsg.execute("Bomb");
- petAddToInventory();
} else {
return CCarry::UseWithOtherMsg(msg);
}
+ petAddToInventory();
return true;
}