summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorerecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-14 02:16:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-14 02:16:52 +0300
commitb4a2f8675591e05afeca7c55e432778dab2ffd10 (patch)
tree369c8afe3de5dac2bcc0e4154acbca2a9ef9c993 /src/net/eathena/searchstorerecv.cpp
parent37976a30f4f6ae3cb7fa25a54b640ae37b608bdf (diff)
downloadmv-b4a2f8675591e05afeca7c55e432778dab2ffd10.tar.gz
mv-b4a2f8675591e05afeca7c55e432778dab2ffd10.tar.bz2
mv-b4a2f8675591e05afeca7c55e432778dab2ffd10.tar.xz
mv-b4a2f8675591e05afeca7c55e432778dab2ffd10.zip
Update packet SMSG_SEARCHSTORE_SEARCH_ACK 0x0836 for new versions.
Diffstat (limited to 'src/net/eathena/searchstorerecv.cpp')
-rw-r--r--src/net/eathena/searchstorerecv.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/searchstorerecv.cpp b/src/net/eathena/searchstorerecv.cpp
index 3d9044ae3..22fdec26b 100644
--- a/src/net/eathena/searchstorerecv.cpp
+++ b/src/net/eathena/searchstorerecv.cpp
@@ -53,6 +53,15 @@ void SearchStoreRecv::processSearchAck(Net::MessageIn &msg)
msg.readUInt8("refine");
for (int d = 0; d < maxCards; d++)
msg.readUInt16("card");
+ if (msg.getVersion() >= 20150226)
+ {
+ for (int d = 0; d < 5; d ++)
+ {
+ msg.readInt16("option index");
+ msg.readInt16("option value");
+ msg.readUInt8("option param");
+ }
+ }
// +++ need use ItemColorManager for colors
}