summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-15 23:55:14 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-16 00:18:39 +0200
commit0056412ed33b941d72a175dcd3f025abcd8fc02b (patch)
tree4be4363c0b248a3b2d32ef1d5c43941c94f5e93b /src/net
parent6f247d1fa09ce55cd96bb0fd75315fdd4e385c50 (diff)
downloadmana-client-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.gz
mana-client-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.bz2
mana-client-0056412ed33b941d72a175dcd3f025abcd8fc02b.tar.xz
mana-client-0056412ed33b941d72a175dcd3f025abcd8fc02b.zip
Post-review fixes.
- Removed unnecessary comments - Removed a useless contains() check in getTileCenter() - Fix the above function documentation - Don't permit FloorItem to be created without a map object. Reviewed-by: Thorbjorn Lindeijer.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/playerhandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp
index 317481ab..0ac55d86 100644
--- a/src/net/manaserv/playerhandler.cpp
+++ b/src/net/manaserv/playerhandler.cpp
@@ -420,10 +420,7 @@ Vector PlayerHandler::getDefaultMoveSpeed() const
Vector PlayerHandler::getPixelsPerTickMoveSpeed(const Vector &speed, Map *map)
{
- // We don't use z for now.
Vector speedInTicks;
- // speedInTicks.x = speedInTicks.y = speedInTicks.z = 0;
- // ^ Done by constructor
Game *game = Game::instance();
if (game && !map)