Core/Spells: Fix caster selection in aura´s of type 284 (SPELL_LINKED_AURA).

Huge thanks to QAston for the brainstorming session.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-27 23:56:41 +01:00
parent 464f1a9f8f
commit 88fe1da9eb

View File

@@ -6400,7 +6400,7 @@ void AuraEffect::HandleAuraLinked(AuraApplication const * aurApp, uint8 mode, bo
if (apply)
{
Unit * caster = GetCaster();
Unit * caster = GetTriggeredSpellCaster(m_spellProto, GetCaster(), target);
if (!caster)
return;