diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-28 20:37:05 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-03-28 20:37:05 +0200 |
commit | e7e550c863c3bb5d5e8697ecce1ea37ad248e362 (patch) | |
tree | 3928fa5a167a0bd3975a6c889775bc4ddea195a2 /src/net/manaserv/playerhandler.h | |
parent | 25bfbc30fb4958a3a754d74bbe971dec717f831c (diff) | |
download | mana-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.gz mana-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.bz2 mana-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.tar.xz mana-e7e550c863c3bb5d5e8697ecce1ea37ad248e362.zip |
Random code cleanups requested righteously by Thorbjorn - part 1.
- Fixed bogus documentation.
- Fixed Vector parameters to const Vector& where releavant.
- Removed a false comment.
- Removed superfluous headers in src/net/tmwa/beinghandler.h.
- Optimize a bit the tmwa::beingHandler::getPixelsPerTickMoveSpeed()
function.
Diffstat (limited to 'src/net/manaserv/playerhandler.h')
-rw-r--r-- | src/net/manaserv/playerhandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h index 8bba1580..3e3f8aad 100644 --- a/src/net/manaserv/playerhandler.h +++ b/src/net/manaserv/playerhandler.h @@ -65,9 +65,9 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler int getJobLocation(); - Vector getDefaultMoveSpeed(); + Vector getDefaultMoveSpeed() const; - Vector getPixelsPerTickMoveSpeed(Vector speed, Map *map = 0); + Vector getPixelsPerTickMoveSpeed(const Vector &speed, Map *map = 0); bool usePixelPrecision() { return true; } |