diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-20 18:10:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-21 20:21:20 +0300 |
commit | 9be654ccd6ca4599c2e103f4a7f3952ece84e3e9 (patch) | |
tree | e00469a95d0beaee2e51c23e95e328fbe23f38a7 /src/map/clif.c | |
parent | d6c996ae31d1875950783ecf25f055975281150d (diff) | |
download | hercules-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.c | 3 |
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) { |