From c88734cc2b8a0785c23531ce70bf703887aa0c4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Aug 2013 23:17:19 +0300 Subject: remove most static methods from Client. --- src/actionmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/actionmanager.cpp') diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 7a562c96e..b0018f670 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -873,7 +873,7 @@ impHandler0(directUp) { if (player_node->getDirection() != Being::UP) { -// if (Client::limitPackets(PACKET_DIRECTION)) +// if (client->limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::UP); if (Net::getPlayerHandler()) @@ -891,7 +891,7 @@ impHandler0(directDown) { if (player_node->getDirection() != Being::DOWN) { -// if (Client::limitPackets(PACKET_DIRECTION)) +// if (client->limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::DOWN); if (Net::getPlayerHandler()) @@ -909,7 +909,7 @@ impHandler0(directLeft) { if (player_node->getDirection() != Being::LEFT) { -// if (Client::limitPackets(PACKET_DIRECTION)) +// if (client->limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::LEFT); if (Net::getPlayerHandler()) @@ -927,7 +927,7 @@ impHandler0(directRight) { if (player_node->getDirection() != Being::RIGHT) { -// if (Client::limitPackets(PACKET_DIRECTION)) +// if (client->limitPackets(PACKET_DIRECTION)) { player_node->setDirection(Being::RIGHT); if (Net::getPlayerHandler()) -- cgit v1.2.3-70-g09d2