aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r--src/game/Spell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h
index f3065f8c425..2793a31ba16 100644
--- a/src/game/Spell.h
+++ b/src/game/Spell.h
@@ -420,7 +420,7 @@ class Spell
SpellCastResult CheckRuneCost(uint32 runeCostID);
SpellCastResult CheckCasterAuras() const;
- int32 CalculateDamage(uint8 i, Unit* target) { return m_caster->CalculateSpellDamage(m_spellInfo,i,m_currentBasePoints[i],target); }
+ int32 CalculateDamage(uint8 i, Unit* target) { return m_caster->CalculateSpellDamage(target, m_spellInfo, i, &m_currentBasePoints[i]); }
bool HaveTargetsForEffect(uint8 effect) const;
void Delayed();