diff UI/UIPopup.cpp @ 1599:bb2378f58767

Player::GetItemsBonus removed majority of labels
author Grumpy7
date Tue, 10 Sep 2013 08:31:04 +0200
parents 9f8b3e904e14
children 96a1f5e0b6cd
line wrap: on
line diff
--- a/UI/UIPopup.cpp	Tue Sep 10 04:16:54 2013 +0200
+++ b/UI/UIPopup.cpp	Tue Sep 10 08:31:04 2013 +0200
@@ -439,12 +439,12 @@
         else if ( inspect_item->uEnchantmentType )
             {
             sprintf(out_text + 200, "%s: %s +%d", pGlobalTXT_LocalizationStrings[210],
-                pItemsTable->pEnchantments[inspect_item->uEnchantmentType-1].pBonusStat, inspect_item->_bonus_strength); //"Special"
+                pItemsTable->pEnchantments[inspect_item->uEnchantmentType-1].pBonusStat, inspect_item->m_enchantmentStrength); //"Special"
             }
         else  if ( inspect_item->uSpecEnchantmentType )
             {      
             sprintf(out_text + 200, "%s: %s", pGlobalTXT_LocalizationStrings[210], 
-                pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pBonusStatement, inspect_item->_bonus_strength);
+                pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pBonusStatement, inspect_item->m_enchantmentStrength);
             }
 
         else if ( inspect_item->uNumCharges )