Fix disappearing casting bar when other spell triggers.
--HG-- branch : trunk
This commit is contained in:
1 parent
6183046f8c
commit
0d8a66de8c
2 files changed
+6
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user