Fix disappearing casting bar when other spell triggers.

--HG--
branch : trunk
This commit is contained in:
krz committed 2009-06-17 00:50:11 +02:00
1 parent 6183046f8c
commit 0d8a66de8c
2 files changed
+6

No files matched your search

+5
View File
@@ -2887,6 +2887,11 @@ void Spell::SendSpellGo()
Unit *target = m_targets.getUnitTarget() ? m_targets.getUnitTarget() : m_caster;
uint32 castFlags = CAST_FLAG_UNKNOWN3;
// triggered spells with spell visual != 0
if(m_IsTriggeredSpell || m_triggeredByAuraSpell)
castFlags |= CAST_FLAG_UNKNOWN0;
if(IsRangedSpell())
castFlags |= CAST_FLAG_AMMO; // arrows/bullets visual