summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 7ee5753f..99cdca0d 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -955,6 +955,7 @@ void LocalPlayer::setGotoTarget(Being *target)
mTarget = target;
mGoingToTarget = true;
const Vector &targetPos = target->getPosition();
+ pathSetByMouse();
setDestination(targetPos.x, targetPos.y);
}