summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-11 23:21:46 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:28 +0300
commit81bea15be75b5d46437109ac6d874eeb1d4ffd86 (patch)
tree4ad08a99883494bfef4ee7a2049ce8c7a17a5e9d /src/map
parentff34ed8b3357043df6e857e6be27260ed1b7ea94 (diff)
downloadhercules-81bea15be75b5d46437109ac6d874eeb1d4ffd86.tar.gz
hercules-81bea15be75b5d46437109ac6d874eeb1d4ffd86.tar.bz2
hercules-81bea15be75b5d46437109ac6d874eeb1d4ffd86.tar.xz
hercules-81bea15be75b5d46437109ac6d874eeb1d4ffd86.zip
Update struct packet_npc_market_result_ack.
Diffstat (limited to 'src/map')
-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 423b506e9..5c7cc04b7 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1297,7 +1297,11 @@ struct packet_npc_market_result_ack {
int16 PacketLength;
uint8 result;
struct {
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 ITID;
+#else
uint16 ITID;
+#endif
uint16 qty;
uint32 price;
} list[MAX_INVENTORY];/* assuming MAX_INVENTORY is max since you can't hold more than MAX_INVENTORY items thus cant buy that many at once. */