aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-14 18:31:59 +0200
committerQAston <none@none>2009-07-14 18:31:59 +0200
commit87ca52c2a9c77db7b9a3f6a4d4f7f12b57b854a5 (patch)
tree39c3846cacb318ad5c241651b6cf20788c307aa5 /src/game/Spell.cpp
parent96cd58bd3791d86533d4b0e7080017271329841b (diff)
*Do not allow spells having damage to break root casted by the spell.
*Typohunt: wand skill gain, Improved spell reflection aura drop from party. --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-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 108453d0b27..fcacdccbe18 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -781,7 +781,7 @@ void Spell::prepareDataForTriggerSystem(AuraEffect * triggeredByAura)
break;
default:
if (m_spellInfo->EquippedItemClass == ITEM_CLASS_WEAPON &&
- m_spellInfo->EquippedItemSubClassMask & ITEM_SUBCLASS_WEAPON_WAND
+ m_spellInfo->EquippedItemSubClassMask & (1<<ITEM_SUBCLASS_WEAPON_WAND)
&& m_spellInfo->AttributesEx2 & SPELL_ATTR_EX2_AUTOREPEAT_FLAG) // Wands auto attack
{
m_procAttacker = PROC_FLAG_SUCCESSFUL_RANGED_HIT;