From c525c9c76dfeb45f0653dc3dc7642727f3b97a91 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Wed, 2 Apr 2008 20:39:29 +0000 Subject: add comment --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/npc.c b/src/map/npc.c index 2029321..7175504 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1042,7 +1042,7 @@ int npc_selllist(struct map_session_data *sd,int n,unsigned short *item_list) sd->status.inventory[item_list[i*2]-2].amount < item_list[i*2+1]) return 1; if (sd->trade_partner != 0) - return 2; + return 2; // cant sell while trading if (itemdb_value_notoc(nameid)) z+=(double)itemdb_value_sell(nameid) * item_list[i*2+1]; else -- cgit v1.2.3-60-g2f50