From 2138c589e90090f4e7545a7e77f9ac9475170d8c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jul 2018 02:19:26 +0300 Subject: Update packet version check in clif_parse_RouletteInfo. --- src/map/clif.c | 2 +- src/map/packets_struct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index adc7562e1..53fb9af00 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -19539,7 +19539,7 @@ static void clif_parse_RouletteInfo(int fd, struct map_session_data *sd) p.ItemInfo[count].Position = j; p.ItemInfo[count].ItemId = clif->rd.nameid[i][j]; p.ItemInfo[count].Count = clif->rd.qty[i][j]; -#if PACKETVER >= 20180523 // unknown real version +#if PACKETVER >= 20180511 p.ItemInfo[count].unused = 0; #endif count++; diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 18e787ed5..d15b8926f 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1015,7 +1015,7 @@ struct packet_roulette_info_ack { struct { uint16 Row; uint16 Position; -#if PACKETVER >= 20180523 // unknown real version +#if PACKETVER >= 20180511 uint32 ItemId; uint16 Count; uint16 unused; -- cgit v1.2.3-60-g2f50