diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/packets_struct.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index b95c5ad91..e6d207fad 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1302,7 +1302,11 @@ struct packet_npc_market_purchase { int16 PacketType; int16 PacketLength; struct { +#if PACKETVER_RE_NUM >= 20180704 + uint32 ITID; +#else uint16 ITID; +#endif int32 qty; } list[]; // Note: We assume this should be <= MAX_INVENTORY (since you can't hold more than MAX_INVENTORY items thus cant buy that many at once). } __attribute__((packed)); |