aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-08-08 21:29:46 +0200
committerKudlaty <none@none>2009-08-08 21:29:46 +0200
commitd41d789ddb2a8b8f5731c2173d88440b9ba8e689 (patch)
treeb411cd757ca70591c7d9c20c6bea23503c150e22 /src/game/Unit.cpp
parent10d2625a5ce6ff98b841a97415e08c308d6d9754 (diff)
parentedfba5caa3852a2ab76727d587d6e363109d2a86 (diff)
merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 8ecd6d51ea2..d126255047c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -1282,6 +1282,9 @@ void Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 dama
if (damage < 0)
return;
+ if(spellInfo->AttributesEx4 & SPELL_ATTR_EX4_FIXED_DAMAGE)
+ return;
+
Unit *pVictim = damageInfo->target;
if(!pVictim || !pVictim->isAlive())
return;