From 767e9a19a27ecf4b7f5ea88e958c818fc56db9fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 12 Mar 2016 23:28:27 +0300 Subject: Fix wrong moving to target if was used attack by mouse. --- src/being/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 9cf739d74..e2450610c 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -990,7 +990,7 @@ void LocalPlayer::setGotoTarget(Being *const target) mPickUpTarget = nullptr; setTarget(target); mGoingToTarget = true; - setDestination(target->mX, + navigateTo(target->mX, target->mY); } -- cgit v1.2.3-70-g09d2