aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrz <none@none>2009-06-01 15:10:45 +0200
committerkrz <none@none>2009-06-01 15:10:45 +0200
commit7a06136a741fb9f7eee1f19708a7995c855816dd (patch)
tree4ba7ddd996c82b28146eeb180800f07cfd09ea43
parent1aa000a86e10aa9b0cb32e2074545d25b830b9cb (diff)
Do not allow to reflect AoE spells.
--HG-- branch : trunk
-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 2cb78e093eb..b43a57f9334 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -379,7 +379,7 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi
// determine reflection
m_canReflect = false;
- if(m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && (m_spellInfo->AttributesEx2 & 0x4)==0)
+ if(m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && !IsAreaOfEffectSpell(m_spellInfo) && (m_spellInfo->AttributesEx2 & 0x4)==0)
{
for(int j=0;j<3;j++)
{