diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-29 21:29:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 21:29:47 +0300 |
commit | 112c34e0e1b92397f0df7eea459fcbac946d340b (patch) | |
tree | caec65bd03eeeea5aa9e0a4d6608b5796709b94b /src/common/mmo.h | |
parent | 584e8de359412091cb05f98b83a25fac47b5c9f2 (diff) | |
parent | 2802489c1851c1725f44fb01cd76ff8d4a7e4bba (diff) | |
download | hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.gz hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.bz2 hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.xz hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.zip |
Merge pull request #1994 from 4144/updatepackets
Update shuffle packets and keys up to 2018-03-28. Add new defines with packet versions.
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index f9cbc57de..5e7f22e6e 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -81,6 +81,22 @@ #undef ENABLE_PACKETVER_ZERO #endif // DISABLE_PACKETVER_ZERO +#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO) + #define PACKETVER_MAIN_NUM PACKETVER +#else + #define PACKETVER_MAIN_NUM 0 +#endif +#ifdef PACKETVER_RE + #define PACKETVER_RE_NUM PACKETVER +#else + #define PACKETVER_RE_NUM 0 +#endif +#ifdef PACKETVER_ZERO + #define PACKETVER_ZERO_NUM PACKETVER +#else + #define PACKETVER_ZERO_NUM 0 +#endif + // Client support for experimental RagexeRE UI present in 2012-04-10 and 2012-04-18 #if defined(PACKETVER_RE) && ( PACKETVER == 20120410 || PACKETVER == 20120418 ) #define PARTY_RECRUIT |