[Scummvm-git-logs] scummvm master -> d4ff8835306bc5c15c929ee799e53093bdde7757

dreammaster dreammaster at scummvm.org
Sun Jan 15 16:44:06 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d4ff883530 TITANIC: Fix display of chicken tooltips in the inventory


Commit: d4ff8835306bc5c15c929ee799e53093bdde7757
    https://github.com/scummvm/scummvm/commit/d4ff8835306bc5c15c929ee799e53093bdde7757
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-15T10:43:41-05:00

Commit Message:
TITANIC: Fix display of chicken tooltips in the inventory

Changed paths:
    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 9d745d8..734b260 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()
 				));
 





More information about the Scummvm-git-logs mailing list