From e7e550c863c3bb5d5e8697ecce1ea37ad248e362 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 28 Mar 2011 20:37:05 +0200 Subject: 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. --- src/net/manaserv/playerhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/manaserv/playerhandler.h') 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; } -- cgit v1.2.3-70-g09d2