diff options
author | Paul Gilbert | 2017-07-30 22:25:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-30 22:25:01 -0400 |
commit | 1d089da054e17b01c8f91decf4169ea9b92cc4c7 (patch) | |
tree | 4b577bec3d7e8351e37050f4ebe2f429135c9166 | |
parent | 1cb265f8da8fa38c8105a15b04508a80f1c3ebe3 (diff) | |
download | scummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.tar.gz scummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.tar.bz2 scummvm-rg350-1d089da054e17b01c8f91decf4169ea9b92cc4c7.zip |
TITANIC: Fix Long Stick not returning to inventory in Arboretum
-rw-r--r-- | engines/titanic/carry/long_stick.cpp | 4 |
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; } |