From 4765357f2f960dc1d063a6228173edda6b1c0507 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 May 2016 02:08:00 +0300 Subject: Change follow from long distance move to naviate to point. --- src/being/localplayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index a5aa8b5e9..e280adc42 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2388,7 +2388,7 @@ void LocalPlayer::followMoveTo(const Being *const being, being->mName == mPlayerFollowed) { mPickUpTarget = nullptr; - setDestination(x, y); + navigateTo(x, y); } } @@ -2406,20 +2406,20 @@ void LocalPlayer::followMoveTo(const Being *const being, switch (settings.followMode) { case 0: - setDestination(x1, y1); + navigateTo(x1, y1); setNextDest(x2, y2); break; case 1: if (x1 != x2 || y1 != y2) { - setDestination(mX + x2 - x1, mY + y2 - y1); + navigateTo(mX + x2 - x1, mY + y2 - y1); setNextDest(mX + x2 - x1, mY + y2 - y1); } break; case 2: if (x1 != x2 || y1 != y2) { - setDestination(mX + x1 - x2, mY + y1 - y2); + navigateTo(mX + x1 - x2, mY + y1 - y2); setNextDest(mX + x1 - x2, mY + y1 - y2); } break; -- cgit v1.2.3-70-g09d2