aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-05-08 09:17:04 -0400
committerKandera <KanderaDev@gmail.com>2012-05-08 09:17:04 -0400
commit6c15bee88415006efe7111b6f7febd70b9a2ca50 (patch)
treec1dfd65b2c71a344cf445d30c2964356cd54a693 /src
parentd2a33afc373e5c56a222a59a7ce7701864821dc8 (diff)
Core/AI: fix the call to help handler to use distance from the npc and not the victim of the npc. (thx shauren)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Grids/Notifiers/GridNotifiers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h
index e81822e72be..6ca31b22e37 100755
--- a/src/server/game/Grids/Notifiers/GridNotifiers.h
+++ b/src/server/game/Grids/Notifiers/GridNotifiers.h
@@ -972,7 +972,7 @@ namespace Trinity
return;
// too far
- if (!u->IsWithinDistInMap(i_enemy, i_range))
+ if (!u->IsWithinDistInMap(i_funit, i_range))
return;
// only if see assisted creature's enemy