*Mangos [7012] Fix use SpellVisual data.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-03 11:00:15 -06:00
parent fa00f43c5c
commit 803a834b0d
3 changed files with 3 additions and 3 deletions

View File

@@ -5331,7 +5331,7 @@ Unit* Spell::SelectMagnetTarget()
bool Spell::IsNeedSendToClient() const
{
return m_spellInfo->SpellVisual!=0 || IsChanneledSpell(m_spellInfo) ||
return m_spellInfo->SpellVisual[0] || m_spellInfo->SpellVisual[1] || IsChanneledSpell(m_spellInfo) ||
m_spellInfo->speed > 0.0f || !m_triggeredByAuraSpell && !m_IsTriggeredSpell;
}