summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-05-02 21:30:17 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-05-02 21:30:17 +0000
commit3297165f99f0dac7a453f180e1bef05782da2c6e (patch)
tree7d8bbd4ad75622c7c7c95f3406902c9e9a81108c /src
parent8049693e39758f1e902920b07f1d7fc903aadafc (diff)
downloadmana-3297165f99f0dac7a453f180e1bef05782da2c6e.tar.gz
mana-3297165f99f0dac7a453f180e1bef05782da2c6e.tar.bz2
mana-3297165f99f0dac7a453f180e1bef05782da2c6e.tar.xz
mana-3297165f99f0dac7a453f180e1bef05782da2c6e.zip
Fixed the delay last move bug.
Diffstat (limited to 'src')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index d418ac7d..3d12c7c1 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -219,7 +219,7 @@ void LocalPlayer::setDestination(Uint16 x, Uint16 y)
{
char temp[3];
MessageOut outMsg(mNetwork);
- set_coordinates(temp, mX, mY, mDirection);
+ set_coordinates(temp, x, y, mDirection);
outMsg.writeInt16(0x0085);
outMsg.writeString(temp, 3);