aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 1e66b29e5f6..05944606063 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1981,15 +1981,8 @@ void Spell::EffectTriggerRitualOfSummoning(uint32 i)
}
finish();
- Spell *spell = new Spell(m_caster, spellInfo, true);
-
- SpellCastTargets targets;
- targets.setUnitTarget( unitTarget);
- spell->prepare(&targets);
-
- //m_caster->SetCurrentCastedSpell(spell);
- //spell->m_selfContainer = &(m_caster->m_currentSpells[spell->GetCurrentContainer()]);
+ m_caster->CastSpell(unitTarget,spellInfo,false);
}
void Spell::EffectForceCast(uint32 i)