summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
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;