diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-27 11:21:10 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-27 11:21:10 +0000 |
commit | d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4 (patch) | |
tree | e7d1ea0a7575d0dd28802e7dfe2a322e818729fc /src/net/playerhandler.cpp | |
parent | 5980dba7ace73e6587b9966bc2076ad2b2eaa5f0 (diff) | |
download | mana-d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4.tar.gz mana-d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4.tar.bz2 mana-d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4.tar.xz mana-d3cba1c4beac4a1c98f38bbca076a98f9c90bbc4.zip |
Changed to pixel-based coordinates for beings.
Diffstat (limited to 'src/net/playerhandler.cpp')
-rw-r--r-- | src/net/playerhandler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp index c73aa2da..fc6bb37d 100644 --- a/src/net/playerhandler.cpp +++ b/src/net/playerhandler.cpp @@ -321,10 +321,8 @@ PlayerHandler::handleMapChangeMessage(MessageIn &msg) player_node->stopAttack(); player_node->mFrame = 0; - // TODO: Server is sending pixel coordinates. Client will need to work with - // these instead of converting them to tile coordinates. - player_node->mX = x / 32; - player_node->mY = y / 32; + player_node->mX = x; + player_node->mY = y; if (newServer) { |