aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/carry
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-25 21:17:25 -0400
committerPaul Gilbert2017-06-25 21:17:25 -0400
commit1766f9e8150920199ff81526dcf9d8180d15ebc2 (patch)
tree7eca6b1daa2dd307b4e8b0dccaceff5d47da9cb0 /engines/titanic/carry
parent680b6686145e2fff9a15b37e22093f9965817ce2 (diff)
downloadscummvm-rg350-1766f9e8150920199ff81526dcf9d8180d15ebc2.tar.gz
scummvm-rg350-1766f9e8150920199ff81526dcf9d8180d15ebc2.tar.bz2
scummvm-rg350-1766f9e8150920199ff81526dcf9d8180d15ebc2.zip
TITANIC: Return long stick to inventory after hitting bomb glass with it
Diffstat (limited to 'engines/titanic/carry')
-rw-r--r--engines/titanic/carry/long_stick.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/carry/long_stick.cpp b/engines/titanic/carry/long_stick.cpp
index 77f888b6d8..5eb468fbd9 100644
--- a/engines/titanic/carry/long_stick.cpp
+++ b/engines/titanic/carry/long_stick.cpp
@@ -52,6 +52,7 @@ bool CLongStick::UseWithOtherMsg(CUseWithOtherMsg *msg) {
} else if (msg->_other->isEquals("Bomb")) {
CActMsg actMsg("Hit");
actMsg.execute("Bomb");
+ petAddToInventory();
} else {
return CCarry::UseWithOtherMsg(msg);
}