mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user