diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-31 17:21:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-31 17:21:12 +0300 |
commit | 6f368ab7083c9a6232531d0610716db97f64f4b0 (patch) | |
tree | d636004023874999a5ee08184fec302f46869670 /src/actionmanager.cpp | |
parent | 1139d3bea995fbd19a39c9609cc1602107404de5 (diff) | |
download | ManaVerse-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.gz ManaVerse-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.bz2 ManaVerse-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.xz ManaVerse-6f368ab7083c9a6232531d0610716db97f64f4b0.zip |
Disable for now limits for change direction packets.
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); |