From d4ff8835306bc5c15c929ee799e53093bdde7757 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 15 Jan 2017 10:43:41 -0500 Subject: [PATCH] TITANIC: Fix display of chicken tooltips in the inventory --- engines/titanic/pet_control/pet_inventory_glyphs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.cpp b/engines/titanic/pet_control/pet_inventory_glyphs.cpp index 9d745d880649..734b260b0f81 100644 --- a/engines/titanic/pet_control/pet_inventory_glyphs.cpp +++ b/engines/titanic/pet_control/pet_inventory_glyphs.cpp @@ -150,11 +150,12 @@ void CPetInventoryGlyph::getTooltip(CTextControl *text) { if (_field34 && _item) { int itemIndex = populateItem(_item, 0); if (itemIndex >= 14 && itemIndex <= 18) { + // Variations of the chicken CPETObjectStateMsg stateMsg(0); stateMsg.execute(_item); text->setText(CString::format("%s %s", - stateMsg._value ? "A hot " : "A cold ", + stateMsg._value ? "A hot" : "A cold", g_vm->_itemDescriptions[itemIndex].c_str() ));