From 1c30ebb589656b1d3bdb746ba7f36190e1dd4908 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Jul 2018 02:40:31 +0300 Subject: Update packet SMSG_ROULETTE_INFO_ACK_TYPE 0x0a1c. --- src/net/eathena/rouletterecv.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/rouletterecv.cpp') diff --git a/src/net/eathena/rouletterecv.cpp b/src/net/eathena/rouletterecv.cpp index 2c245b30b..49666f49f 100644 --- a/src/net/eathena/rouletterecv.cpp +++ b/src/net/eathena/rouletterecv.cpp @@ -39,8 +39,17 @@ void RouletteRecv::processRouletteInfoAckType(Net::MessageIn &msg) { msg.readInt16("row"); msg.readInt16("position"); - msg.readInt16("item id"); - msg.readInt16("count"); + if (msg.getVersion() >= 20180523) + { + msg.readInt32("item id"); + msg.readInt16("count"); + msg.readInt16("unused"); + } + else + { + msg.readInt16("item id"); + msg.readInt16("count"); + } } } -- cgit v1.2.3-70-g09d2