diff options
author | Paul Gilbert | 2016-06-23 21:22:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:24:22 -0400 |
commit | 5b98885f8797d5c36336a22a9399611b11a3715f (patch) | |
tree | 48c087f9fa697bb5375c3d6ff0441f8d5343e8cc /engines/titanic/pet_control/pet_control.cpp | |
parent | f7d6db05e849855cbd17a60c3bbc3b1e96d1453a (diff) | |
download | scummvm-rg350-5b98885f8797d5c36336a22a9399611b11a3715f.tar.gz scummvm-rg350-5b98885f8797d5c36336a22a9399611b11a3715f.tar.bz2 scummvm-rg350-5b98885f8797d5c36336a22a9399611b11a3715f.zip |
TITANIC: Figured out PET Room Glyph modes
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index 22b513ef75..5de87cd04b 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -376,7 +376,7 @@ CGameObject *CPetControl::getNextObject(CGameObject *prior) const { return static_cast<CGameObject *>(prior->getNextSibling()); } -void CPetControl::addToInventory(CCarry *item) { +void CPetControl::addToInventory(CGameObject *item) { item->detach(); if (item->getName() == "CarryParcel") { @@ -403,7 +403,7 @@ void CPetControl::addToInventory(CCarry *item) { msg.execute(item); } -void CPetControl::removeFromInventory(CCarry *item, CTreeItem *newParent, +void CPetControl::removeFromInventory(CGameObject *item, CTreeItem *newParent, bool refreshUI, bool sendMsg) { if (item && newParent) { item->detach(); |