diff options
-rw-r--r-- | src/actormanager.cpp | 2 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 2 |
2 files changed, 2 insertions, 2 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; 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; |