diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-25 04:52:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-25 04:52:59 +0300 |
commit | 7be2ac3fd661f24ec71cb3bb469551eefc51451f (patch) | |
tree | 7cbade21ce6ee61690c4fe3c5e57338d0d1549db /src | |
parent | 22e4f01fda1d9f61b0e663eb9e4edf8bd73b6e91 (diff) | |
download | hercules-7be2ac3fd661f24ec71cb3bb469551eefc51451f.tar.gz hercules-7be2ac3fd661f24ec71cb3bb469551eefc51451f.tar.bz2 hercules-7be2ac3fd661f24ec71cb3bb469551eefc51451f.tar.xz hercules-7be2ac3fd661f24ec71cb3bb469551eefc51451f.zip |
Swap calls to send info about solt item to seller and actual item deletion from cart.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/vending.c | 2 |
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 ) { |