summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-01 01:13:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-01 01:13:47 +0300
commitc14fb368c606d0ca4e0c73fb845b38e2dc84c958 (patch)
treeee597f2d3f3a164a08e7f038636b7a6953028a0b /src/net/eathena/vendingrecv.cpp
parent9076e148535c6815c88a0c859f333333eb94a88c (diff)
downloadmanaverse-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.cpp2
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)
{