summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index c38d66c18..7cc69ec9f 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1163,7 +1163,7 @@ void LocalPlayer::stopWalking(const bool sendToServer)
{
Net::getPlayerHandler()->setDestination(
static_cast<int>(getPosition().x),
- static_cast<int>(getPosition().y));
+ static_cast<int>(getPosition().y), -1);
}
setAction(STAND);
}