comparison 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
comparison
equal deleted inserted replaced
1598:11bb463837b1 1599:bb2378f58767
437 } 437 }
438 438
439 else if ( inspect_item->uEnchantmentType ) 439 else if ( inspect_item->uEnchantmentType )
440 { 440 {
441 sprintf(out_text + 200, "%s: %s +%d", pGlobalTXT_LocalizationStrings[210], 441 sprintf(out_text + 200, "%s: %s +%d", pGlobalTXT_LocalizationStrings[210],
442 pItemsTable->pEnchantments[inspect_item->uEnchantmentType-1].pBonusStat, inspect_item->_bonus_strength); //"Special" 442 pItemsTable->pEnchantments[inspect_item->uEnchantmentType-1].pBonusStat, inspect_item->m_enchantmentStrength); //"Special"
443 } 443 }
444 else if ( inspect_item->uSpecEnchantmentType ) 444 else if ( inspect_item->uSpecEnchantmentType )
445 { 445 {
446 sprintf(out_text + 200, "%s: %s", pGlobalTXT_LocalizationStrings[210], 446 sprintf(out_text + 200, "%s: %s", pGlobalTXT_LocalizationStrings[210],
447 pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pBonusStatement, inspect_item->_bonus_strength); 447 pItemsTable->pSpecialEnchantments[inspect_item->uSpecEnchantmentType-1].pBonusStatement, inspect_item->m_enchantmentStrength);
448 } 448 }
449 449
450 else if ( inspect_item->uNumCharges ) 450 else if ( inspect_item->uNumCharges )
451 { 451 {
452 sprintf(out_text + 200, "%s: %lu", pGlobalTXT_LocalizationStrings[464], inspect_item->uNumCharges); //"Charges" 452 sprintf(out_text + 200, "%s: %lu", pGlobalTXT_LocalizationStrings[464], inspect_item->uNumCharges); //"Charges"