summaryrefslogtreecommitdiff
path: root/src/net/eathena/rouletterecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/rouletterecv.cpp')
-rw-r--r--src/net/eathena/rouletterecv.cpp13
1 files changed, 11 insertions, 2 deletions
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");
+ }
}
}