diff options
Diffstat (limited to 'src/map/trade.c')
-rw-r--r-- | src/map/trade.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/trade.c b/src/map/trade.c index 4f8d81b35..9d2128690 100644 --- a/src/map/trade.c +++ b/src/map/trade.c @@ -96,8 +96,10 @@ void trade_tradeadditem(struct map_session_data *sd, int index, int amount) sd->deal_zeny = amount; clif_tradeadditem(sd, target_sd, 0, amount); } else { - trade_tradecancel(sd); - return; + if (amount != 0) { + trade_tradecancel(sd); + return; + } } } } else if (amount > 0 && amount <= sd->status.inventory[index-2].amount) { @@ -128,7 +130,6 @@ void trade_tradeadditem(struct map_session_data *sd, int index, int amount) } } - /*========================================== * ƒAƒCƒeƒ€’ljÁŠ®—¹(ok‰Ÿ‚µ) *------------------------------------------ |