aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_inventory_glyphs.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-16 07:02:51 -0500
committerPaul Gilbert2017-01-16 07:03:50 -0500
commit480532c2096451cd594cdce944e2345e738039c5 (patch)
tree835c625eddb12a8c7882455cd3fdc410a4a8a02e /engines/titanic/pet_control/pet_inventory_glyphs.cpp
parent4a14a56a5ca8ed75981d6cbacf547d0b806e2d8e (diff)
downloadscummvm-rg350-480532c2096451cd594cdce944e2345e738039c5.tar.gz
scummvm-rg350-480532c2096451cd594cdce944e2345e738039c5.tar.bz2
scummvm-rg350-480532c2096451cd594cdce944e2345e738039c5.zip
TITANIC: Change chicken tooltips to use DAT strings
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()
));