From 4ab8d4a5ddebbb04597ed2c2d1da39d315bc08ef Mon Sep 17 00:00:00 2001 From: maximius Date: Mon, 14 Sep 2009 16:06:21 -0700 Subject: *Use 4 spaces instead of tabs in .cpp and .h files --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5fec651dd47..b59fb9839f6 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; -- cgit v1.2.3