aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 3946eaddb5c..e33a79908f5 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5043,10 +5043,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
// Emblazon Runeblade
case 51770:
{
- if(!unitTarget)
+ if(!m_originalCaster)
return;
- unitTarget->CastSpell(unitTarget,51771,false);
+ m_originalCaster->CastSpell(m_originalCaster, damage, false);
break;
}
// Death Gate