summaryrefslogtreecommitdiff
path: root/src/net/eathena/updateprotocol.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-22 23:33:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-23 00:09:21 +0300
commit370771ff7a602498eac131f110b582ca4efbafef (patch)
treef96882508cdc19d62444bf24b53d0df12e54dc89 /src/net/eathena/updateprotocol.cpp
parentab3b909187ee0a18946bff50a6bd3e8e281970f1 (diff)
downloadplus-370771ff7a602498eac131f110b582ca4efbafef.tar.gz
plus-370771ff7a602498eac131f110b582ca4efbafef.tar.bz2
plus-370771ff7a602498eac131f110b582ca4efbafef.tar.xz
plus-370771ff7a602498eac131f110b582ca4efbafef.zip
Allow add conditions into out packets definition.
Diffstat (limited to 'src/net/eathena/updateprotocol.cpp')
-rw-r--r--src/net/eathena/updateprotocol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp
index ebe17c575..c9d2c07d7 100644
--- a/src/net/eathena/updateprotocol.cpp
+++ b/src/net/eathena/updateprotocol.cpp
@@ -20,6 +20,8 @@
#include "net/eathena/updateprotocol.h"
+#include "logger.h"
+
#include "net/eathena/network.h"
#include "net/eathena/protocolout.h"
@@ -30,6 +32,7 @@ namespace EAthena
void updateProtocol()
{
+#define PACKETS_UPDATE
#include "net/protocoloutupdate.h"
#include "net/eathena/packetsout.inc"
#undef packet