diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory_glyphs.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.cpp b/engines/titanic/pet_control/pet_inventory_glyphs.cpp index b793c1af13..441726ee75 100644 --- a/engines/titanic/pet_control/pet_inventory_glyphs.cpp +++ b/engines/titanic/pet_control/pet_inventory_glyphs.cpp @@ -146,7 +146,15 @@ bool CPetInventoryGlyph::doAction(CGlyphAction *action) { if (_item == invAction->_item && _owner) { int v = populateItem(_item, 0); _background = owner->getBackground(v); + + if (isHighlighted()) { + warning("TODO"); + } } + break; + + default: + break; } return true; @@ -154,7 +162,7 @@ bool CPetInventoryGlyph::doAction(CGlyphAction *action) { /*------------------------------------------------------------------------*/ -bool CPetInventoryGlyphs::change(CInventoryGlyphAction *action) { +bool CPetInventoryGlyphs::doAction(CInventoryGlyphAction *action) { for (iterator i = begin(); i != end(); ++i) { (*i)->doAction(action); } |