summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-25 22:15:23 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-28 04:43:37 +0300
commit7859f12f27070af9aacfd43f5d92191a87332099 (patch)
tree5e08c156eee2bbf3428f3edf135cd35b015ca5ec /src
parentbf03c52a9bde802af33ccb0edcd1f966c0310038 (diff)
downloadhercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.gz
hercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.bz2
hercules-7859f12f27070af9aacfd43f5d92191a87332099.tar.xz
hercules-7859f12f27070af9aacfd43f5d92191a87332099.zip
Update packet CZ_NPC_MARKET_PURCHASE.
Diffstat (limited to 'src')
-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 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));