aboutsummaryrefslogtreecommitdiff
path: root/src/game/StatSystem.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-01-16 19:05:27 +0300
committern0n4m3 <none@none>2010-01-16 19:05:27 +0300
commite031df23fc77716b9e4e10cf6084d1f60ffa11ef (patch)
treeae3dd0afe0df12d5bf72e48374213f462ef80df3 /src/game/StatSystem.cpp
parente21e0ce95be0e2ea1a33959e4c85be6dbe15fb14 (diff)
Propertly update combat ratings fields, by VladimirMangos.
--HG-- branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r--src/game/StatSystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp
index 0a4f1472ff8..6c69caf1580 100644
--- a/src/game/StatSystem.cpp
+++ b/src/game/StatSystem.cpp
@@ -148,6 +148,7 @@ bool Player::UpdateAllStats()
for (int i = POWER_MANA; i < MAX_POWERS; ++i)
UpdateMaxPower(Powers(i));
+ UpdateAllRatings();
UpdateAllCritPercentages();
UpdateAllSpellCritChances();
UpdateDefenseBonusesMod();