[8380] Use CastSpell instead create triggered channaled spell in Spell::EffectTriggerRitualOfSummoning.

This commit is contained in:
VladimirMangos 2009-08-18 01:01:00 +04:00
parent 3ca16beace
commit 1b1d013623
2 changed files with 2 additions and 9 deletions

View file

@ -1931,15 +1931,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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8379"
#define REVISION_NR "8380"
#endif // __REVISION_NR_H__