diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index fe3318c9b..8db2036a2 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1406,7 +1406,7 @@ int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list) pc_setreg(sd,add_str("@sold_nameid")+(i<<24),(int)sd->status.inventory[idx].nameid); pc_setreg(sd,add_str("@sold_quantity")+(i<<24),qty); } - pc_delitem(sd,idx,qty,0); + pc_delitem(sd,idx,qty,0,6); } if (z > MAX_ZENY) z = MAX_ZENY; |