summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-19 00:32:13 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-21 22:36:42 +0300
commit2f78bbf2379fa1452a783e9d7a9035e9e6732479 (patch)
tree37351e3383188007887033462de7aedc2a1cff9b /src/map/packets_struct.h
parentc68e1ca5469c21f9b247db76915405692ed1d94c (diff)
downloadhercules-2f78bbf2379fa1452a783e9d7a9035e9e6732479.tar.gz
hercules-2f78bbf2379fa1452a783e9d7a9035e9e6732479.tar.bz2
hercules-2f78bbf2379fa1452a783e9d7a9035e9e6732479.tar.xz
hercules-2f78bbf2379fa1452a783e9d7a9035e9e6732479.zip
Fix packet ZC_MAKINGITEM_LIST
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index b8976516e..0b1f88c2c 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2709,13 +2709,10 @@ struct PACKET_ZC_MAKINGITEM_LIST_sub {
struct PACKET_ZC_MAKINGITEM_LIST {
int16 packetType;
int16 packetLength;
-#if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114
- uint32 makeItem;
-#else
uint16 makeItem;
-#endif
struct PACKET_ZC_MAKINGITEM_LIST_sub items[];
} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_MAKINGITEM_LIST, 0x025a);
struct PACKET_ZC_PC_CASH_POINT_ITEMLIST_sub {
uint32 price;