aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthenecromancer <none@none>2009-07-08 14:34:15 +0200
committerthenecromancer <none@none>2009-07-08 14:34:15 +0200
commite208f8750d8f7135d8fead93e037946d20fab61f (patch)
tree960d8eb29da20a9baf15cbb222bbaee30efd7c5e /src
parent88ffd0082ac667993445ce0817e9297ec5d57d14 (diff)
*fix some addons tracking autoshot cooldown
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8864c5f683f..e5c0550d239 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3477,7 +3477,7 @@ void Spell::SendSpellGo()
uint32 castFlags = CAST_FLAG_UNKNOWN3;
// triggered spells with spell visual != 0
- if(m_IsTriggeredSpell || m_triggeredByAuraSpell)
+ if((m_IsTriggeredSpell && !IsAutoRepeatRangedSpell(m_spellInfo)) || m_triggeredByAuraSpell)
castFlags |= CAST_FLAG_UNKNOWN0;
if(m_spellInfo->Attributes & SPELL_ATTR_REQ_AMMO)