diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-01 01:13:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-01 01:13:47 +0300 |
commit | c14fb368c606d0ca4e0c73fb845b38e2dc84c958 (patch) | |
tree | ee597f2d3f3a164a08e7f038636b7a6953028a0b /src/net/eathena/vendingrecv.cpp | |
parent | 9076e148535c6815c88a0c859f333333eb94a88c (diff) | |
download | manaverse-c14fb368c606d0ca4e0c73fb845b38e2dc84c958.tar.gz manaverse-c14fb368c606d0ca4e0c73fb845b38e2dc84c958.tar.bz2 manaverse-c14fb368c606d0ca4e0c73fb845b38e2dc84c958.tar.xz manaverse-c14fb368c606d0ca4e0c73fb845b38e2dc84c958.zip |
Add versions to packets where inside exists version checks.
Diffstat (limited to 'src/net/eathena/vendingrecv.cpp')
-rw-r--r-- | src/net/eathena/vendingrecv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp index f4e38f789..9750ca520 100644 --- a/src/net/eathena/vendingrecv.cpp +++ b/src/net/eathena/vendingrecv.cpp @@ -101,6 +101,7 @@ void VendingRecv::processItemsList(Net::MessageIn &msg) msg.readUInt8("refine"); for (int d = 0; d < maxCards; d ++) cards[d] = msg.readInt16("card"); + // ++ need change to msg.getVersion() if ((serverVersion >= 8 || serverVersion == 0) && packetVersion >= 20150226) { @@ -145,6 +146,7 @@ void VendingRecv::processOpen(Net::MessageIn &msg) msg.readUInt8("refine"); for (int d = 0; d < maxCards; d ++) msg.readInt16("card"); + // ++ need change to msg.getVersion() if ((serverVersion >= 8 || serverVersion == 0) && packetVersion >= 20150226) { |