summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-04 02:19:26 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-12 01:53:19 +0300
commit2138c589e90090f4e7545a7e77f9ac9475170d8c (patch)
tree06d1d8a19855db3ad97dea5982d2adc5936fe949 /src/map
parent897a878025bdbec5cef4371310d622b3e3897f15 (diff)
downloadhercules-2138c589e90090f4e7545a7e77f9ac9475170d8c.tar.gz
hercules-2138c589e90090f4e7545a7e77f9ac9475170d8c.tar.bz2
hercules-2138c589e90090f4e7545a7e77f9ac9475170d8c.tar.xz
hercules-2138c589e90090f4e7545a7e77f9ac9475170d8c.zip
Update packet version check in clif_parse_RouletteInfo.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/packets_struct.h2
2 files changed, 2 insertions, 2 deletions
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;