diff options
Diffstat (limited to 'src/game/UnitAI.cpp')
-rw-r--r-- | src/game/UnitAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/UnitAI.cpp b/src/game/UnitAI.cpp index a8185453491..e70df50a56e 100644 --- a/src/game/UnitAI.cpp +++ b/src/game/UnitAI.cpp @@ -323,5 +323,5 @@ void SimpleCharmedAI::UpdateAI(const uint32 /*diff*/) Unit *target = me->getVictim(); if (!target || !charmer->canAttack(target)) - AttackStart(charmer->SelectNearestTarget()); + AttackStart(charmer->SelectNearestTargetInAttackDistance()); } |