summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-20 18:10:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-21 20:21:20 +0300
commit9be654ccd6ca4599c2e103f4a7f3952ece84e3e9 (patch)
treee00469a95d0beaee2e51c23e95e328fbe23f38a7 /src/map/clif.c
parentd6c996ae31d1875950783ecf25f055975281150d (diff)
downloadhercules-9be654ccd6ca4599c2e103f4a7f3952ece84e3e9.tar.gz
hercules-9be654ccd6ca4599c2e103f4a7f3952ece84e3e9.tar.bz2
hercules-9be654ccd6ca4599c2e103f4a7f3952ece84e3e9.tar.xz
hercules-9be654ccd6ca4599c2e103f4a7f3952ece84e3e9.zip
Split packets and packets keys.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 171e0c71e..de0f0573f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -19928,9 +19928,10 @@ void packetdb_loaddb(void) {
memset(packet_db,0,sizeof(packet_db));
#define packet(id, size, ...) packetdb_addpacket((id), (size), ##__VA_ARGS__, 0xFFFF)
-#define packetKeys(a,b,c) do { clif->cryptKey[0] = (a); clif->cryptKey[1] = (b); clif->cryptKey[2] = (c); } while(0)
#include "packets.h" /* load structure data */
#undef packet
+#define packetKeys(a,b,c) do { clif->cryptKey[0] = (a); clif->cryptKey[1] = (b); clif->cryptKey[2] = (c); } while(0)
+#include "packets_keys.h"
#undef packetKeys
}
void clif_bc_ready(void) {