Core/AI: fix the call to help handler to use distance from the npc and not the victim of the npc. (thx shauren)

This commit is contained in:
Kandera
2012-05-08 09:17:04 -04:00
parent d2a33afc37
commit 6c15bee884

View File

@@ -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