diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 14:26:23 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 14:34:30 +0100 |
commit | 31c28bbd0349475079ed2111c32b3cd07400554e (patch) | |
tree | f3068b3760b1782321143e3a06fe55fca8ae48f1 /src/net | |
parent | 057e55c47ef3194ad56a09128eaa959984f2fd4a (diff) | |
download | mana-client-31c28bbd0349475079ed2111c32b3cd07400554e.tar.gz mana-client-31c28bbd0349475079ed2111c32b3cd07400554e.tar.bz2 mana-client-31c28bbd0349475079ed2111c32b3cd07400554e.tar.xz mana-client-31c28bbd0349475079ed2111c32b3cd07400554e.zip |
Fixed position of dots on minimap
Also made mPx and mPy private and synchronize with mPos on
setPosition(). The side effects of setting destination and clearing the
path have been removed from setPosition(). Only the tmwserv
PlayerHandler seemed to rely on that feature.
Mantis-issue: 672
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwserv/playerhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwserv/playerhandler.cpp b/src/net/tmwserv/playerhandler.cpp index 863fcb65..f02ed4c1 100644 --- a/src/net/tmwserv/playerhandler.cpp +++ b/src/net/tmwserv/playerhandler.cpp @@ -322,6 +322,7 @@ void PlayerHandler::handleMapChangeMessage(MessageIn &msg) player_node->setAction(Being::STAND); player_node->setPosition(x, y); + player_node->setDestination(x, y); logger->log("Adjust scrolling by %d,%d", (int) scrollOffsetX, (int) scrollOffsetY); |