diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-17 00:02:23 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-17 00:02:23 +0100 |
commit | 452dc7f163749de0b5d698af2f022ca22c1aabb0 (patch) | |
tree | 5a84201f77bb71bc2ee2e1a4adb37220756d32b1 /src/net/manaserv/playerhandler.h | |
parent | 6846acdcf0159423c188b56fc4a5f4c19f123eb7 (diff) | |
download | mana-452dc7f163749de0b5d698af2f022ca22c1aabb0.tar.gz mana-452dc7f163749de0b5d698af2f022ca22c1aabb0.tar.bz2 mana-452dc7f163749de0b5d698af2f022ca22c1aabb0.tar.xz mana-452dc7f163749de0b5d698af2f022ca22c1aabb0.zip |
Now the client centers the pixel positions when using tA.
I made it so that the behaviour can be changed with only
a boolean setting in the playerhandler.
Diffstat (limited to 'src/net/manaserv/playerhandler.h')
-rw-r--r-- | src/net/manaserv/playerhandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h index 6069c6da..8bba1580 100644 --- a/src/net/manaserv/playerhandler.h +++ b/src/net/manaserv/playerhandler.h @@ -69,6 +69,9 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler Vector getPixelsPerTickMoveSpeed(Vector speed, Map *map = 0); + bool usePixelPrecision() + { return true; } + private: void handleMapChangeMessage(Net::MessageIn &msg); }; |