Core/Spells: fix build error from previous commit.

This commit is contained in:
Kandera
2012-06-15 14:19:42 -04:00
parent 2ff2387aa5
commit 521bf5f64e
+1 -1
View File
@@ -535,7 +535,7 @@ class spell_warl_haunt : public SpellScriptLoader
{ {
PrepareSpellScript(spell_warl_haunt_SpellScript); PrepareSpellScript(spell_warl_haunt_SpellScript);
void HandleEffectHit() void HandleOnHit()
{ {
if (Aura* aura = GetHitAura()) if (Aura* aura = GetHitAura())
if (AuraEffect* aurEff = aura->GetEffect(EFFECT_1)) if (AuraEffect* aurEff = aura->GetEffect(EFFECT_1))