[Scummvm-git-logs] scummvm master -> 1766f9e8150920199ff81526dcf9d8180d15ebc2
dreammaster
dreammaster at scummvm.org
Mon Jun 26 03:17:37 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1766f9e815 TITANIC: Return long stick to inventory after hitting bomb glass with it
Commit: 1766f9e8150920199ff81526dcf9d8180d15ebc2
https://github.com/scummvm/scummvm/commit/1766f9e8150920199ff81526dcf9d8180d15ebc2
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-25T21:17:25-04:00
Commit Message:
TITANIC: Return long stick to inventory after hitting bomb glass with it
Changed paths:
engines/titanic/carry/long_stick.cpp
diff --git a/engines/titanic/carry/long_stick.cpp b/engines/titanic/carry/long_stick.cpp
index 77f888b..5eb468f 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);
}
More information about the Scummvm-git-logs
mailing list