diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-11 23:21:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:28 +0300 |
commit | 81bea15be75b5d46437109ac6d874eeb1d4ffd86 (patch) | |
tree | 4ad08a99883494bfef4ee7a2049ce8c7a17a5e9d /src | |
parent | ff34ed8b3357043df6e857e6be27260ed1b7ea94 (diff) | |
download | hercules-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')
-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 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. */ |