diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
commit | a75b710fbde53288d250d287eb61254e2adb3012 (patch) | |
tree | f7f1d63ebf54b576d503a7dbb56e80213145bb24 /src/actions/move.cpp | |
parent | 6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (diff) | |
download | mv-a75b710fbde53288d250d287eb61254e2adb3012.tar.gz mv-a75b710fbde53288d250d287eb61254e2adb3012.tar.bz2 mv-a75b710fbde53288d250d287eb61254e2adb3012.tar.xz mv-a75b710fbde53288d250d287eb61254e2adb3012.zip |
User full enum name in packets type.
Diffstat (limited to 'src/actions/move.cpp')
-rw-r--r-- | src/actions/move.cpp | 8 |
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) |