aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShocker <shocker@freakz.ro>2011-06-26 15:54:19 +0300
committerShocker <shocker@freakz.ro>2011-06-26 15:54:19 +0300
commit6b0b21fea7cbd09f3ee1815758aa00f9ea1965fe (patch)
tree92bbaecb92fa5e5f51a723523f7a9b0cbe5b929c /src
parentff5367c03d27a78521345f22e1a8a1950f095c77 (diff)
Core/Spells: Don't allow Killing Spree to hit critters (by correcting AnyUnfriendlyVisibleUnitInObjectRangeCheck, this notifier may be used in the future for similar expected results)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Grids/Notifiers/GridNotifiers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h
index 422639c603d..7f8dcbd601a 100755
--- a/src/server/game/Grids/Notifiers/GridNotifiers.h
+++ b/src/server/game/Grids/Notifiers/GridNotifiers.h
@@ -816,6 +816,7 @@ namespace Trinity
return u->isAlive()
&& i_obj->IsWithinDistInMap(u, i_range)
&& !i_funit->IsFriendlyTo(u)
+ && u->GetCreatureType() != CREATURE_TYPE_CRITTER
&& i_funit->canSeeOrDetect(u);
}
private: