summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-06 22:20:01 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-14 18:06:02 +0300
commitca83900abca1887bbecadc86bce92b5c57ba6de2 (patch)
treeff49bffd7ec73fcdfcd5e1989104a9c5d0f95766 /src/map/clif.c
parenta2d21de7a19a2e060a4d3324853f2200ec42ab23 (diff)
downloadhercules-ca83900abca1887bbecadc86bce92b5c57ba6de2.tar.gz
hercules-ca83900abca1887bbecadc86bce92b5c57ba6de2.tar.bz2
hercules-ca83900abca1887bbecadc86bce92b5c57ba6de2.tar.xz
hercules-ca83900abca1887bbecadc86bce92b5c57ba6de2.zip
Split packets_shuffle.h into main and zero shuffle packets.
Also add shuffle packets for all clients from where shuffle packets can be extracted.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 235dc6d19..5b02c8d47 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -20148,7 +20148,11 @@ void packetdb_loaddb(void) {
#define packet(id, size, ...) packetdb_addpacket((id), (size), ##__VA_ARGS__, 0xFFFF)
#include "packets.h" /* load structure data */
-#include "packets_shuffle.h"
+#ifdef PACKETVER_ZERO
+#include "packets_shuffle_zero.h"
+#else // PACKETVER_ZERO
+#include "packets_shuffle_main.h"
+#endif // PACKETVER_ZERO
#undef packet
#define packetKeys(a,b,c) do { clif->cryptKey[0] = (a); clif->cryptKey[1] = (b); clif->cryptKey[2] = (c); } while(0)
#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)