From 7be2ac3fd661f24ec71cb3bb469551eefc51451f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Aug 2016 04:52:59 +0300 Subject: Swap calls to send info about solt item to seller and actual item deletion from cart. --- src/map/vending.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- cgit v1.2.3-60-g2f50