summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorIbrahem Hossam <ibrahem.h.basyone@gmail.com>2016-09-12 00:34:15 +0200
committerGitHub <noreply@github.com>2016-09-12 00:34:15 +0200
commitb407b408f2397eb6661c4ea152f6652142670455 (patch)
tree8b5f1b8c4b2ac743a2fd56c407051585a257900e /src/map/vending.c
parent5b67dd0f17949beb1a54ee0ac13bd9b07c1bdd40 (diff)
parentedd59a66d8bfc83e601343c6d841cfaf9e135319 (diff)
downloadhercules-b407b408f2397eb6661c4ea152f6652142670455.tar.gz
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.bz2
hercules-b407b408f2397eb6661c4ea152f6652142670455.tar.xz
hercules-b407b408f2397eb6661c4ea152f6652142670455.zip
Merge pull request #1422 from 4144/packetsid
Update some packet ids for newer clients and add navigation script command.
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