diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Spell.cpp | 5 | ||||
| -rw-r--r-- | src/game/Spell.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 3d05c57bdf3..4a0e51e9372 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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 diff --git a/src/game/Spell.h b/src/game/Spell.h index 8da9facb264..21351436e2b 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -60,6 +60,7 @@ enum SpellCastTargetFlags enum SpellCastFlags { + CAST_FLAG_UNKNOWN0 = 0x00000001, // stucks spell highlight CAST_FLAG_UNKNOWN1 = 0x00000002, CAST_FLAG_UNKNOWN2 = 0x00000010, CAST_FLAG_AMMO = 0x00000020, |
