diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 670fb58cd..f7576a01d 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1371,12 +1371,12 @@ void LocalPlayer::moveToTarget(int dist) ServerType::TMWATHENA); switch (dist) { - case 10: + case 11: // archer dist = mAttackRange; if (dist == 1 && broken) dist = 2; break; - case 11: + case 12: // range-1 dist = mAttackRange - 1; if (dist < 1) dist = 1; @@ -2710,6 +2710,7 @@ void LocalPlayer::fixAttackTarget() if ((mMap == nullptr) || (mTarget == nullptr)) return; + // 11 == archer if (settings.moveToTargetType == 11 || (settings.attackType == 0U) || !config.getBoolValue("autofixPos")) { |