diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-15 05:35:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-06-02 00:23:24 +0300 |
commit | 0f4fd231e6660860c991bbcc59c075547245e71d (patch) | |
tree | e2a99f2b9a4b0f8ab2aa83191d0bbbe66e5931df /src/map/packets_struct.h | |
parent | c7cccdb4bcf02470a63b1cf36b00eb6135998849 (diff) | |
download | hercules-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/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 5cc58affb..9d77540e2 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1423,7 +1423,7 @@ struct hotkey_data { int16 count; // Item Quantity/Skill Level } __attribute__((packed)); -#if PACKETVER_RE_NUM >= 20190508 +#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190515 #define MAX_HOTKEYS_PACKET 38 struct PACKET_ZC_SHORTCUT_KEY_LIST { int16 packetType; @@ -1472,7 +1472,7 @@ struct PACKET_CZ_SHORTCUT_KEY_CHANGE1 { DEFINE_PACKET_HEADER(CZ_SHORTCUT_KEY_CHANGE1, 0x02ba); #endif -#if PACKETVER_RE_NUM >= 20190508 +#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190515 struct PACKET_CZ_SHORTCUT_KEY_CHANGE2 { int16 packetType; uint16 tab; @@ -1490,7 +1490,7 @@ struct PACKET_CZ_SHORTCUTKEYBAR_ROTATE1 { DEFINE_PACKET_HEADER(CZ_SHORTCUTKEYBAR_ROTATE1, 0x0a01); #endif -#if PACKETVER_RE_NUM >= 20190508 +#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190515 struct PACKET_CZ_SHORTCUTKEYBAR_ROTATE2 { int16 packetType; uint16 tab; |