summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-11 23:11:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:28 +0300
commitff34ed8b3357043df6e857e6be27260ed1b7ea94 (patch)
treee474ac86f9102e8c2c0340cdcf55f8c623dcc353 /src/map/packets_struct.h
parent64841a9db70673c9e5ad61ab8d29585f7ebdf585 (diff)
downloadhercules-ff34ed8b3357043df6e857e6be27260ed1b7ea94.tar.gz
hercules-ff34ed8b3357043df6e857e6be27260ed1b7ea94.tar.bz2
hercules-ff34ed8b3357043df6e857e6be27260ed1b7ea94.tar.xz
hercules-ff34ed8b3357043df6e857e6be27260ed1b7ea94.zip
Update struct packet_npc_market_open.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index faffe0238..423b506e9 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1308,7 +1308,11 @@ struct packet_npc_market_open {
int16 PacketLength;
/* inner struct figured by Ind after some annoying hour of debugging (data Thanks to Yommy) */
struct {
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 nameid;
+#else
uint16 nameid;
+#endif
uint8 type;
uint32 price;
uint32 qty;