diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 23:17:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | c88734cc2b8a0785c23531ce70bf703887aa0c4b (patch) | |
tree | cdb4448b0bea29f9d9c61401ce91a00f92e2a5f5 /src/actionmanager.cpp | |
parent | d3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (diff) | |
download | ManaVerse-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.cpp | 8 |
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()) |