diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-25 22:15:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-28 04:43:37 +0300 |
commit | 7859f12f27070af9aacfd43f5d92191a87332099 (patch) | |
tree | 5e08c156eee2bbf3428f3edf135cd35b015ca5ec | |
parent | bf03c52a9bde802af33ccb0edcd1f966c0310038 (diff) | |
download | hercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.gz hercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.bz2 hercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.xz hercules-7859f12f27070af9aacfd43f5d92191a87332099.zip |
Update packet CZ_NPC_MARKET_PURCHASE.
-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)); |