diff options
| author | megamage <none@none> | 2009-06-18 20:26:49 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-18 20:26:49 -0500 |
| commit | e0553121f276be21d0c8162b79d1a87f814d0ee3 (patch) | |
| tree | 686c8a7e475e0935fd564ded51c87c58312c568c /src/game/Spell.cpp | |
| parent | a49c2982ba975a4c5dba7b1bf6a31a7c54a13c1d (diff) | |
| parent | 294c8a734e4b0054527b93a35e08cda8e0062733 (diff) | |
*Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 89eb18f2486..ed818d95570 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3251,6 +3251,11 @@ void Spell::SendSpellGo() //sLog.outDebug("Sending SMSG_SPELL_GO id=%u", m_spellInfo->Id); uint32 castFlags = CAST_FLAG_UNKNOWN3; + + // triggered spells with spell visual != 0 + if(m_IsTriggeredSpell || m_triggeredByAuraSpell) + castFlags |= CAST_FLAG_UNKNOWN0; + if(m_spellInfo->Attributes & SPELL_ATTR_REQ_AMMO) castFlags |= CAST_FLAG_AMMO; // arrows/bullets visual if ((m_caster->GetTypeId() == TYPEID_PLAYER || |
