summaryrefslogtreecommitdiff
path: root/src/net/eathena/searchstorerecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/searchstorerecv.cpp')
-rw-r--r--src/net/eathena/searchstorerecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/searchstorerecv.cpp b/src/net/eathena/searchstorerecv.cpp
index 3fc2c26b8..3fb2f5460 100644
--- a/src/net/eathena/searchstorerecv.cpp
+++ b/src/net/eathena/searchstorerecv.cpp
@@ -95,7 +95,8 @@ void SearchStoreRecv::processSearchOpen(Net::MessageIn &msg)
{
UNIMPLIMENTEDPACKET;
msg.readInt16("effect");
- msg.readUInt8("uses");
+ if (msg.getVersion() >= 20100701)
+ msg.readUInt8("uses");
}
void SearchStoreRecv::processSearchClickAck(Net::MessageIn &msg)