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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 63df19940..216692752 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -132,6 +132,10 @@ void trade_tradeack(struct map_session_data *sd, int type) {
if (sd->npc_id || sd->vender_id || sd->state.storage_flag ||
tsd->npc_id || tsd->vender_id || tsd->state.storage_flag)
{ //Fail
+ sd->state.deal_locked = 0;
+ sd->trade_partner = 0;
+ tsd->state.deal_locked = 0;
+ tsd->trade_partner = 0;
clif_tradestart(sd, 2);
clif_tradestart(tsd, 2);
return;