diff options
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 3dac2f3bc..a1c423b2c 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -850,7 +850,7 @@ impHandler0(directUp) { if (player_node->getDirection() != Being::UP) { - if (Client::limitPackets(PACKET_DIRECTION)) +// if (Client::limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::UP); Net::getPlayerHandler()->setDirection(Being::UP); @@ -867,7 +867,7 @@ impHandler0(directDown) { if (player_node->getDirection() != Being::DOWN) { - if (Client::limitPackets(PACKET_DIRECTION)) +// if (Client::limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::DOWN); Net::getPlayerHandler()->setDirection(Being::DOWN); @@ -884,7 +884,7 @@ impHandler0(directLeft) { if (player_node->getDirection() != Being::LEFT) { - if (Client::limitPackets(PACKET_DIRECTION)) +// if (Client::limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::LEFT); Net::getPlayerHandler()->setDirection(Being::LEFT); @@ -901,7 +901,7 @@ impHandler0(directRight) { if (player_node->getDirection() != Being::RIGHT) { - if (Client::limitPackets(PACKET_DIRECTION)) +// if (Client::limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::RIGHT); Net::getPlayerHandler()->setDirection(Being::RIGHT); |