aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-10 19:43:50 +0200
committerMachiavelli <none@none>2009-06-10 19:43:50 +0200
commiteb9719ed4f95c81b3e1ccd4cae63b7c09baddcaf (patch)
treecd091599f6c127d5931fb097ed64743249ba3e30 /src/game/Spell.cpp
parent7445ddad0520fd9a55234a0c22dca56e4e7c00d0 (diff)
parent926747b57ec6e8439d5397c57b37d2b2c3ba7b70 (diff)
Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 7f84e3a1cac..9a79b20192e 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1052,7 +1052,7 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
// Do healing and triggers
if (m_healing > 0)
{
- bool crit = caster->isSpellCrit(NULL, m_spellInfo, m_spellSchoolMask);
+ bool crit = caster->isSpellCrit(unitTarget, m_spellInfo, m_spellSchoolMask);
uint32 addhealth = m_healing;
if (crit)
{