aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-14 16:48:00 -0700
committermaximius <none@none>2009-09-14 16:48:00 -0700
commit7349c1d9dd7ff2331d5059595f3e81dfc097f071 (patch)
treec637055aab5d8f0e733fc611fada42c43ad04d83 /src/game/Unit.cpp
parent4ab8d4a5ddebbb04597ed2c2d1da39d315bc08ef (diff)
Backed out changeset 60578c781be1
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b59fb9839f6..5fec651dd47 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -1673,7 +1673,7 @@ uint32 Unit::CalcArmorReducedDamage(Unit* pVictim, const uint32 damage, SpellEnt
// Apply Player CR_ARMOR_PENETRATION rating and percent talents
if (GetTypeId()==TYPEID_PLAYER)
- armor *= 1.0f - ((Player*)this)->GetArmorPenetrationPct() / 100.0f;
+ armor *= 1.0f - ((Player*)this)->GetArmorPenetrationPct() / 100.0f;
// Ignore enemy armor by SPELL_AURA_MOD_TARGET_ARMOR_PCT
//armor *= 1.0f - GetTotalAuraModifier(SPELL_AURA_MOD_ARMOR_PENETRATION_PCT) / 100.0f;