summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-06-06 01:58:48 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-26 06:47:09 +0300
commit58e5437cc7611579155e6d47439becc418f9b51d (patch)
treed5f25e0de9288d4a5fc02d9b57f6aa63bbd89ec8 /src/common/mmo.h
parente106ab9b2e31e1e8c2d93f5ad7476dc26bfc9fa1 (diff)
downloadhercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.gz
hercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.bz2
hercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.xz
hercules-58e5437cc7611579155e6d47439becc418f9b51d.zip
Add support for new shortcuts packets in zero
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 b58a70ae9..1fa6fadc8 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_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190605
#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_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190605
#define MAX_HOTKEYS_DB ((MAX_HOTKEYS) * 2)
#else
#define MAX_HOTKEYS_DB MAX_HOTKEYS