diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-28 01:22:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-29 19:47:42 +0300 |
commit | 8ce6947f6754c797e0557e54af42223212028bb0 (patch) | |
tree | 4166fade427e7329074f633d5415ea48467ff42c /src/map/packets_struct.h | |
parent | a6f6b34df65d36fb7609b93c2305c8507dc79e8d (diff) | |
download | hercules-8ce6947f6754c797e0557e54af42223212028bb0.tar.gz hercules-8ce6947f6754c797e0557e54af42223212028bb0.tar.bz2 hercules-8ce6947f6754c797e0557e54af42223212028bb0.tar.xz hercules-8ce6947f6754c797e0557e54af42223212028bb0.zip |
Fix for clif_parse_RouletteInfo for new 2018 clients.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f1cb408ba..665ef78cc 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1015,8 +1015,14 @@ struct packet_roulette_info_ack { struct { uint16 Row; uint16 Position; +#if PACKETVER >= 20180523 // unknown real version + uint32 ItemId; + uint16 Count; + uint16 unused; +#else uint16 ItemId; uint16 Count; +#endif } ItemInfo[42]; } __attribute__((packed)); |