*Spell target selection fix. Without this patch many spells are bugged.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-24 13:06:19 -06:00
parent e41ff462fa
commit 5923c0559f

View File

@@ -164,6 +164,9 @@ void SpellCastTargets::Update(Unit* caster)
if(m_itemTarget)
m_itemTargetEntry = m_itemTarget->GetEntry();
}
m_originalCasterGUID = m_caster->GetGUID();
m_originalCaster = m_caster;
}
bool SpellCastTargets::read ( WorldPacket * data, Unit *caster )