summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 17:38:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 17:38:35 +0300
commitee3321098ab5ffd71a4809b035a39c06884da2d2 (patch)
tree1e34fd0aaa739ca91a39585735de9632e1c1fc74 /src/net/eathena/vendingrecv.cpp
parent84624960e3b934f9779f56e14004489320edb42f (diff)
downloadmanaverse-ee3321098ab5ffd71a4809b035a39c06884da2d2.tar.gz
manaverse-ee3321098ab5ffd71a4809b035a39c06884da2d2.tar.bz2
manaverse-ee3321098ab5ffd71a4809b035a39c06884da2d2.tar.xz
manaverse-ee3321098ab5ffd71a4809b035a39c06884da2d2.zip
Add packet SMSG_VENDING_REPORT 0x09e5.
Diffstat (limited to 'src/net/eathena/vendingrecv.cpp')
-rw-r--r--src/net/eathena/vendingrecv.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp
index f6668265f..3419ab343 100644
--- a/src/net/eathena/vendingrecv.cpp
+++ b/src/net/eathena/vendingrecv.cpp
@@ -220,6 +220,13 @@ void VendingRecv::processReport(Net::MessageIn &msg)
{
const int index = msg.readInt16("inv index") - INVENTORY_OFFSET;
const int amount = msg.readInt16("amount");
+ if (msg.getVersion() >= 20141016)
+ {
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("char id");
+ msg.readInt32("time");
+ msg.readInt32("zeny");
+ }
const Inventory *const inventory = PlayerInfo::getCartInventory();
if (!inventory)
return;