aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_inventory_glyphs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory_glyphs.cpp')
-rw-r--r--engines/titanic/pet_control/pet_inventory_glyphs.cpp4
1 files changed, 2 insertions, 2 deletions
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()
));