summaryrefslogtreecommitdiff
path: root/src/map/trade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/trade.c')
-rw-r--r--src/map/trade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 8880629..67ac257 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -147,6 +147,7 @@ void trade_tradeadditem(struct map_session_data *sd,int index,int amount)
return;
}
}
+ pc_unequipinvyitem(sd, index - 2, 1);
sd->deal_item_index[trade_i] =index;
sd->deal_item_amount[trade_i]+=amount;
clif_tradeitemok(sd,index,amount,0); //success to add item