aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobmaps <spambot42@yandex.ru>2011-06-16 00:54:42 +0700
committertobmaps <spambot42@yandex.ru>2011-06-16 00:54:42 +0700
commite854fd34d2e75cb7381af8922009622c22b3f16a (patch)
tree9bf0e035f778dd34aa13cbdb6739eb1f903a2a5e
parent2f2396b7e00be858d69f744545008b470b0d494d (diff)
Core/Spells: effects with target mode TARGET_UNIT_AREA_PATH should be negative
Closes #434 Closes #729 Closes #1104 Closes #1840
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 87c5c584f4d..656e5ac9ab5 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -740,6 +740,7 @@ bool IsPositiveTarget(uint32 targetA, uint32 targetB)
case TARGET_UNIT_AREA_ENEMY_SRC:
case TARGET_UNIT_AREA_ENEMY_DST:
case TARGET_UNIT_CONE_ENEMY:
+ case TARGET_UNIT_AREA_PATH:
case TARGET_DEST_DYNOBJ_ENEMY:
case TARGET_DST_TARGET_ENEMY:
return false;