[7820] Fixed typo in [7819] that not allow correct work non-scalling item stats. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user