[7820] Fixed typo in [7819] that not allow correct work non-scalling item stats. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-14 11:58:01 -05:00
parent 43b84c7b07
commit c6407a8b4c
+1 -1
View File
@@ -6500,7 +6500,7 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl
} }
else else
{ {
if (proto->StatsCount >= i) if (i >= proto->StatsCount)
continue; continue;
statType = proto->ItemStat[i].ItemStatType; statType = proto->ItemStat[i].ItemStatType;
val = proto->ItemStat[i].ItemStatValue; val = proto->ItemStat[i].ItemStatValue;