diff options
author | megamage <none@none> | 2009-05-14 11:58:01 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-14 11:58:01 -0500 |
commit | c6407a8b4c795a3a757daa170489588ce59c7a5e (patch) | |
tree | 1df4474ed9c9552648057eb7445dcfbcd62a3ec5 /src | |
parent | 43b84c7b0786c941f2029797a93e05254276af83 (diff) |
[7820] Fixed typo in [7819] that not allow correct work non-scalling item stats. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index ba86b6b5bec..3b40880bef8 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6500,7 +6500,7 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl } else { - if (proto->StatsCount >= i) + if (i >= proto->StatsCount) continue; statType = proto->ItemStat[i].ItemStatType; val = proto->ItemStat[i].ItemStatValue; |