summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/packetlimiter.cpp2
-rw-r--r--src/net/packetlimiter.h18
2 files changed, 2 insertions, 18 deletions
diff --git a/src/net/packetlimiter.cpp b/src/net/packetlimiter.cpp
index 80e1226d2..d4411c50a 100644
--- a/src/net/packetlimiter.cpp
+++ b/src/net/packetlimiter.cpp
@@ -23,6 +23,8 @@
#include "configuration.h"
#include "settings.h"
+#include "enums/net/packettypes.h"
+
#include "utils/timer.h"
#include <fstream>
diff --git a/src/net/packetlimiter.h b/src/net/packetlimiter.h
index 2c2de56ef..f0d8a78df 100644
--- a/src/net/packetlimiter.h
+++ b/src/net/packetlimiter.h
@@ -25,24 +25,6 @@
#include "localconsts.h"
-enum PacketTypes
-{
- PACKET_CHAT = 0,
- PACKET_PICKUP = 1,
- PACKET_DROP = 2,
- PACKET_NPC_NEXT = 3,
- PACKET_NPC_TALK = 4,
- PACKET_NPC_INPUT = 5,
- PACKET_EMOTE = 6,
- PACKET_SIT = 7,
- PACKET_DIRECTION = 8,
- PACKET_ATTACK = 9,
- PACKET_STOPATTACK = 10,
- PACKET_ONLINELIST = 11,
- PACKET_WHISPER = 12,
- PACKET_SIZE
-};
-
namespace PacketLimiter
{
void initPacketLimiter();