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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 392acb33f..32c84b508 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -455,8 +455,12 @@ void trade_tradecancel(struct map_session_data *sd)
if(!sd->state.trading)
{ // Not trade acepted
- if( target_sd ) target_sd->trade_partner = 0;
+ if( target_sd ) {
+ target_sd->trade_partner = 0;
+ clif_tradecancelled(target_sd);
+ }
sd->trade_partner = 0;
+ clif_tradecancelled(sd);
return;
}