aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-18 16:24:30 -0800
committermaximius <none@none>2009-11-18 16:24:30 -0800
commit0134b7fee8bcad67746a59be05e25fcb2b722148 (patch)
tree5a8276c6ae1e40154322929afff9299b7a5a2299 /src/game/Unit.cpp
parentd03ec103f39249a391150d90c90f8d2fd0770aaf (diff)
*Rewritten method for Dalaran Mageguards to determine if they should teleport you.
--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 1411c25d956..2994e440499 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -10299,7 +10299,7 @@ void Unit::MeleeDamageBonus(Unit *pVictim, uint32 *pdamage, WeaponAttackType att
// ..done (base at attack power for marked target and base at attack power for creature type)
int32 APbonus = 0;
- if(attType == RANGED_ATTACK)
+ if (attType == RANGED_ATTACK)
{
APbonus += pVictim->GetTotalAuraModifier(SPELL_AURA_RANGED_ATTACK_POWER_ATTACKER_BONUS);