summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 23:17:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitc88734cc2b8a0785c23531ce70bf703887aa0c4b (patch)
treecdb4448b0bea29f9d9c61401ce91a00f92e2a5f5 /src/actionmanager.cpp
parentd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (diff)
downloadmanaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.gz
manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.bz2
manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.xz
manaverse-c88734cc2b8a0785c23531ce70bf703887aa0c4b.zip
remove most static methods from Client.
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 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())