diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-09 18:20:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 18:20:21 +0300 |
commit | 58ff96ae10908ce63b230074b26e2db10b9cc22d (patch) | |
tree | 410b2555f4a2483f4ce6c17cf70a54b93a39aa11 /src/actormanager.cpp | |
parent | a9f3bab2e61c475fa1787a1403505209a488f534 (diff) | |
download | plus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.gz plus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.bz2 plus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.xz plus-58ff96ae10908ce63b230074b26e2db10b9cc22d.zip |
Fix yellow bar option "archer attack range".
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |