diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-01 18:48:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-01 19:30:21 +0300 |
commit | 5279e8de2799308ad6365562d812f6f23946dc80 (patch) | |
tree | c74c034310cb5ae60eee69e00c8b9a9e794ee8fc /src/net/eathena/cashshoprecv.cpp | |
parent | 75edc42f4be5689b5e40090f30ec70e676876c14 (diff) | |
download | plus-5279e8de2799308ad6365562d812f6f23946dc80.tar.gz plus-5279e8de2799308ad6365562d812f6f23946dc80.tar.bz2 plus-5279e8de2799308ad6365562d812f6f23946dc80.tar.xz plus-5279e8de2799308ad6365562d812f6f23946dc80.zip |
Sort more packets. Add version checks inside packets.
Diffstat (limited to 'src/net/eathena/cashshoprecv.cpp')
-rw-r--r-- | src/net/eathena/cashshoprecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/cashshoprecv.cpp b/src/net/eathena/cashshoprecv.cpp index 2cffcd40a..b427fd5df 100644 --- a/src/net/eathena/cashshoprecv.cpp +++ b/src/net/eathena/cashshoprecv.cpp @@ -64,7 +64,8 @@ void CashShopRecv::processCashShopBuyAck(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readInt32("cash points"); - msg.readInt32("kafra points"); + if (packetVersion >= 20070711) + msg.readInt32("kafra points"); msg.readInt16("error"); } |