summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/clif.c3
-rw-r--r--src/map/packets_struct.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index dfd49914a..820a219f6 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -19284,6 +19284,9 @@ 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
+ p.ItemInfo[count].unused = 0;
+#endif
count++;
}
}
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));