aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-14 20:21:40 -0400
committerPaul Gilbert2016-07-10 16:11:08 -0400
commit7ddd5d1a8b97bda75e4eece9c91ff3286e3c3eca (patch)
treef226626c6989fec1db1dc2f32f21436b2b853e26 /engines/titanic/pet_control/pet_control.cpp
parentf77a8a63cde7b40dd6fb4dfc23f11cc654c7e9a5 (diff)
downloadscummvm-rg350-7ddd5d1a8b97bda75e4eece9c91ff3286e3c3eca.tar.gz
scummvm-rg350-7ddd5d1a8b97bda75e4eece9c91ff3286e3c3eca.tar.bz2
scummvm-rg350-7ddd5d1a8b97bda75e4eece9c91ff3286e3c3eca.zip
TITANIC: Finished CArm msg handlers, stubs for adding to inventory
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r--engines/titanic/pet_control/pet_control.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp
index c7dc8d2c21..2f119be5d3 100644
--- a/engines/titanic/pet_control/pet_control.cpp
+++ b/engines/titanic/pet_control/pet_control.cpp
@@ -365,4 +365,8 @@ CGameObject *CPetControl::getNextObject(CGameObject *prior) const {
return static_cast<CGameObject *>(prior->getNextSibling());
}
+void CPetControl::addToInventory(CCarry *item) {
+ _inventory.addItem(item);
+}
+
} // End of namespace Titanic