From 480532c2096451cd594cdce944e2345e738039c5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 16 Jan 2017 07:02:51 -0500 Subject: TITANIC: Change chicken tooltips to use DAT strings --- engines/titanic/pet_control/pet_inventory_glyphs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.cpp') diff --git a/engines/titanic/pet_control/pet_inventory_glyphs.cpp b/engines/titanic/pet_control/pet_inventory_glyphs.cpp index a994df035f..e49e0c5d9d 100644 --- a/engines/titanic/pet_control/pet_inventory_glyphs.cpp +++ b/engines/titanic/pet_control/pet_inventory_glyphs.cpp @@ -154,8 +154,8 @@ void CPetInventoryGlyph::getTooltip(CTextControl *text) { CPETObjectStateMsg stateMsg(0); stateMsg.execute(_item); - text->setText(CString::format("%s %s", - stateMsg._value ? "A hot" : "A cold", + CString temperature = g_vm->_strings[stateMsg._value ? A_HOT : A_COLD]; + text->setText(CString::format("%s %s", temperature.c_str(), g_vm->_itemDescriptions[itemIndex].c_str() )); -- cgit v1.2.3