summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-08 19:43:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 01:03:20 +0300
commitdfe7b9e4bb9c0f890009be0f037d4ba1a516605f (patch)
treed4af5d5db98cf4b66a817f1cd8d88d6784a3d91a /src/map/vending.c
parent092ffb2b754365ea5487a82c7a2c60667a471cef (diff)
downloadhercules-dfe7b9e4bb9c0f890009be0f037d4ba1a516605f.tar.gz
hercules-dfe7b9e4bb9c0f890009be0f037d4ba1a516605f.tar.bz2
hercules-dfe7b9e4bb9c0f890009be0f037d4ba1a516605f.tar.xz
hercules-dfe7b9e4bb9c0f890009be0f037d4ba1a516605f.zip
Add packet id clif_vendingreport (0x9e5 / ZC_DELETEITEM_FROM_MCSTORE2)
Based on rAthena commit: commit 01adc9c3ff3c1c6f0f69f6f9f2db77eba20071d4 Author: Napster <arokaice@live.com> Date: Mon Dec 21 20:05:29 2015 +0700
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index 6f4515120..f92437cb8 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -191,7 +191,7 @@ void vending_purchasereq(struct map_session_data* sd, int aid, unsigned int uid,
// vending item
pc->additem(sd, &vsd->status.cart[idx], amount, LOG_TYPE_VENDING);
vsd->vending[vend_list[i]].amount -= amount;
- clif->vendingreport(vsd, idx, amount);
+ clif->vendingreport(vsd, idx, amount, sd->status.char_id, (int)z);
pc->cart_delitem(vsd, idx, amount, 0, LOG_TYPE_VENDING);
//print buyer's name