Core/Refer-a-Friend: Fix a glitch in the summoning system. Thanks gyullo.

This commit is contained in:
Silinoron
2011-08-03 15:21:08 -07:00
parent 76fe596160
commit 0c2cd78400

View File

@@ -7084,5 +7084,5 @@ void Spell::EffectSummonRaFFriend(SpellEffIndex effIndex) {
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
m_caster->CastSpell(m_caster, m_spellInfo->Effects[effIndex].TriggerSpell, true);
m_caster->CastSpell(unitTarget, m_spellInfo->Effects[effIndex].TriggerSpell, true);
}