summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-09 18:20:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-09 18:20:21 +0300
commit58ff96ae10908ce63b230074b26e2db10b9cc22d (patch)
tree410b2555f4a2483f4ce6c17cf70a54b93a39aa11 /src/being/localplayer.cpp
parenta9f3bab2e61c475fa1787a1403505209a488f534 (diff)
downloadmanaplus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.gz
manaplus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.bz2
manaplus-58ff96ae10908ce63b230074b26e2db10b9cc22d.tar.xz
manaplus-58ff96ae10908ce63b230074b26e2db10b9cc22d.zip
Fix yellow bar option "archer attack range".
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index b7d965a43..acc6e2c0e 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2483,7 +2483,7 @@ void LocalPlayer::fixAttackTarget()
if (!mMap || !mTarget)
return;
- if (settings.moveToTargetType == 7 || !settings.attackType
+ if (settings.moveToTargetType == 11 || !settings.attackType
|| !config.getBoolValue("autofixPos"))
{
return;