summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-31 17:21:12 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-31 17:21:12 +0300
commit6f368ab7083c9a6232531d0610716db97f64f4b0 (patch)
treed636004023874999a5ee08184fec302f46869670 /src/actionmanager.cpp
parent1139d3bea995fbd19a39c9609cc1602107404de5 (diff)
downloadmv-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.gz
mv-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.bz2
mv-6f368ab7083c9a6232531d0610716db97f64f4b0.tar.xz
mv-6f368ab7083c9a6232531d0610716db97f64f4b0.zip
Disable for now limits for change direction packets.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp8
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);