summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 12:26:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 12:26:54 +0300
commita75b710fbde53288d250d287eb61254e2adb3012 (patch)
treef7f1d63ebf54b576d503a7dbb56e80213145bb24 /src/actions
parent6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (diff)
downloadplus-a75b710fbde53288d250d287eb61254e2adb3012.tar.gz
plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.bz2
plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.xz
plus-a75b710fbde53288d250d287eb61254e2adb3012.zip
User full enum name in packets type.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/move.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actions/move.cpp b/src/actions/move.cpp
index 29d190ef9..1e7cca9d8 100644
--- a/src/actions/move.cpp
+++ b/src/actions/move.cpp
@@ -190,7 +190,7 @@ impHandler0(directUp)
{
if (localPlayer->getDirection() != BeingDirection::UP)
{
-// if (PacketLimiter::limitPackets(PACKET_DIRECTION))
+// if (PacketLimiter::limitPackets(PacketType::PACKET_DIRECTION))
{
localPlayer->setDirection(BeingDirection::UP);
if (playerHandler)
@@ -208,7 +208,7 @@ impHandler0(directDown)
{
if (localPlayer->getDirection() != BeingDirection::DOWN)
{
-// if (PacketLimiter::limitPackets(PACKET_DIRECTION))
+// if (PacketLimiter::limitPackets(PacketType::PACKET_DIRECTION))
{
localPlayer->setDirection(BeingDirection::DOWN);
if (playerHandler)
@@ -229,7 +229,7 @@ impHandler0(directLeft)
{
if (localPlayer->getDirection() != BeingDirection::LEFT)
{
-// if (PacketLimiter::limitPackets(PACKET_DIRECTION))
+// if (PacketLimiter::limitPackets(PacketType::PACKET_DIRECTION))
{
localPlayer->setDirection(BeingDirection::LEFT);
if (playerHandler)
@@ -250,7 +250,7 @@ impHandler0(directRight)
{
if (localPlayer->getDirection() != BeingDirection::RIGHT)
{
-// if (PacketLimiter::limitPackets(PACKET_DIRECTION))
+// if (PacketLimiter::limitPackets(PacketType::PACKET_DIRECTION))
{
localPlayer->setDirection(BeingDirection::RIGHT);
if (playerHandler)