diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-02 18:43:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-02 18:43:29 +0300 |
commit | 4117668dc08eec993019dc8f174087ca218b67dc (patch) | |
tree | 4fb843818deca796fc65a4f511be5b2a1e503f3a /src/net/eathena/searchstorerecv.cpp | |
parent | 5c80bbfd023a1a3ab390ea46ccb763309ad5ab27 (diff) | |
download | manaverse-4117668dc08eec993019dc8f174087ca218b67dc.tar.gz manaverse-4117668dc08eec993019dc8f174087ca218b67dc.tar.bz2 manaverse-4117668dc08eec993019dc8f174087ca218b67dc.tar.xz manaverse-4117668dc08eec993019dc8f174087ca218b67dc.zip |
Sort more packets. Add version checks inside packets.
Diffstat (limited to 'src/net/eathena/searchstorerecv.cpp')
-rw-r--r-- | src/net/eathena/searchstorerecv.cpp | 3 |
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) |