summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 20:22:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitb43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7 (patch)
tree4d3f66fbffd93d0413a839e24d20e7d5b665e68a /src/localplayer.cpp
parente7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (diff)
downloadManaVerse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.gz
ManaVerse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.bz2
ManaVerse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.xz
ManaVerse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.zip
remove some default values for parameters.
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);
}