Misc: Some engrish fixes, thanks to ZxBiohazardZx, closes issue 4740

--HG--
branch : trunk
This commit is contained in:
Shocker committed 2010-11-14 23:46:34 +02:00
1 parent a3ade4a49a
commit 48d90fab32
27 files changed
+149 -149

No files matched your search

+2 -2
View File
@@ -2812,8 +2812,8 @@ void Spell::EffectSummonChangeItem(SpellEffIndex effIndex)
if (m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) < m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY))
{
double loosePercent = 1 - m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) / double(m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY));
player->DurabilityLoss(pNewItem, loosePercent);
double lossPercent = 1 - m_CastItem->GetUInt32Value(ITEM_FIELD_DURABILITY) / double(m_CastItem->GetUInt32Value(ITEM_FIELD_MAXDURABILITY));
player->DurabilityLoss(pNewItem, lossPercent);
}
if (player->IsInventoryPos(pos))