summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-08-25 15:28:24 +0200
committerGitHub <noreply@github.com>2016-08-25 15:28:24 +0200
commit13067dc118b790e676dc2cecf272279a850c7ce2 (patch)
tree7cbade21ce6ee61690c4fe3c5e57338d0d1549db
parent22e4f01fda1d9f61b0e663eb9e4edf8bd73b6e91 (diff)
parent7be2ac3fd661f24ec71cb3bb469551eefc51451f (diff)
downloadhercules-13067dc118b790e676dc2cecf272279a850c7ce2.tar.gz
hercules-13067dc118b790e676dc2cecf272279a850c7ce2.tar.bz2
hercules-13067dc118b790e676dc2cecf272279a850c7ce2.tar.xz
hercules-13067dc118b790e676dc2cecf272279a850c7ce2.zip
Merge pull request #1408 from 4144/vending
Swap calls to send info about solt item to seller and actual item del…
-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 0eb5e39e2..6f4515120 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -191,8 +191,8 @@ 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;
- pc->cart_delitem(vsd, idx, amount, 0, LOG_TYPE_VENDING);
clif->vendingreport(vsd, idx, amount);
+ pc->cart_delitem(vsd, idx, amount, 0, LOG_TYPE_VENDING);
//print buyer's name
if( battle_config.buyer_name ) {