From 58ff96ae10908ce63b230074b26e2db10b9cc22d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 18:20:21 +0300 Subject: Fix yellow bar option "archer attack range". --- src/actormanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actormanager.cpp') diff --git a/src/actormanager.cpp b/src/actormanager.cpp index c046201d1..8e26e2f6b 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -945,7 +945,7 @@ Being *ActorManager::findNearestLivingBeing(const Being *const aroundBeing, const int attackRange = localPlayer->getAttackRange(); bool specialDistance = false; - if (settings.moveToTargetType == 7 + if (settings.moveToTargetType == 11 && localPlayer->getAttackRange() > 2) { specialDistance = true; -- cgit v1.2.3-70-g09d2