diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-11 18:43:56 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-11 18:43:56 +0000 |
commit | d7015ada2a147926e7cedf80d10ea281c6e06798 (patch) | |
tree | d385ad0989883f70e8c8e8b093b74eb2ffa92281 /src/localplayer.cpp | |
parent | a960554e550ef12455f68fee540f9054faa6c618 (diff) | |
download | mana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.gz mana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.bz2 mana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.xz mana-d7015ada2a147926e7cedf80d10ea281c6e06798.zip |
Fixed visibility of the update window.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index d5484ac3..f842042c 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -232,10 +232,10 @@ void LocalPlayer::walk(unsigned char dir) void LocalPlayer::setDestination(Uint16 x, Uint16 y) { // Only send a new message to the server when destination changes - if (x != destX || y != destY) + if (x != mDestX || y != mDestY) { - destX = x; - destY = y; + mDestX = x; + mDestY = y; char temp[3]; MessageOut outMsg(mNetwork); |