aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-02 15:58:43 -0600
committermegamage <none@none>2009-02-02 15:58:43 -0600
commit49a9e26498cd8c2ff1115cc779092feed573f12b (patch)
treee22d8c92ca88d6fe444bd0e2479dec5d7e4c6100 /src
parent0b32bdaec9dba258defc8c21d703a96c30400956 (diff)
*Apply stun effect immediately for player charge spells, though this violates natural law.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 18549e7dd38..208f31540dc 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2150,7 +2150,7 @@ void SpellMgr::LoadSpellCustomAttr()
mSpellCustomAttr[i] |= SPELL_ATTR_CU_DIRECT_DAMAGE;
break;
case SPELL_EFFECT_CHARGE:
- if(!spellInfo->speed)
+ if(!spellInfo->speed && !spellInfo->SpellFamilyName)
spellInfo->speed = SPEED_CHARGE;
mSpellCustomAttr[i] |= SPELL_ATTR_CU_CHARGE;
case SPELL_EFFECT_TRIGGER_SPELL: