From a75b710fbde53288d250d287eb61254e2adb3012 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 12:26:54 +0300 Subject: User full enum name in packets type. --- src/actions/move.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/actions/move.cpp') 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) -- cgit v1.2.3-70-g09d2