summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-15 05:35:40 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-02 00:23:24 +0300
commit0f4fd231e6660860c991bbcc59c075547245e71d (patch)
treee2a99f2b9a4b0f8ab2aa83191d0bbbe66e5931df /src/common/mmo.h
parentc7cccdb4bcf02470a63b1cf36b00eb6135998849 (diff)
downloadhercules-0f4fd231e6660860c991bbcc59c075547245e71d.tar.gz
hercules-0f4fd231e6660860c991bbcc59c075547245e71d.tar.bz2
hercules-0f4fd231e6660860c991bbcc59c075547245e71d.tar.xz
hercules-0f4fd231e6660860c991bbcc59c075547245e71d.zip
Use new shortcuts packets in zero 2019-05-15 and main 2019-05-22
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 9594a39eb..545d180fd 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -139,7 +139,7 @@
// Note that newer clients no longer save hotkeys in the registry!
#define HOTKEY_SAVING
-#if PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190515
#define MAX_HOTKEYS 38
#elif PACKETVER_MAIN_NUM >= 20141022 || PACKETVER_RE_NUM >= 20141015 || defined(PACKETVER_ZERO)
// (38 = 9 skills x 4 bars & 2 Quickslots)(0x07d9,268)
@@ -156,7 +156,7 @@
#endif
#endif // PACKETVER_MAIN_NUM >= 20070711 || PACKETVER_RE_NUM >= 20080827 || PACKETVER_AD_NUM >= 20070711 || PACKETVER_SAK_NUM >= 20070628 || defined(PACKETVER_ZERO)
-#if PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190515
#define MAX_HOTKEYS_DB ((MAX_HOTKEYS) * 2)
#else
#define MAX_HOTKEYS_DB MAX_HOTKEYS