summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/trade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 31f29ce..9e99ef1 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -28,7 +28,7 @@ void trade_traderequest(struct map_session_data *sd,int target_id)
return;
}
}
- if (target_sd->npc_id)
+ if (target_sd->npc_id || target_sd->npc_shopid)
{
//Trade fails if you are using an NPC.
clif_tradestart(sd, 2);