summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-19 15:46:55 +0000
committerSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-19 15:46:55 +0000
commitaf7c783667e77887131d186f51fb60f7dc31b87c (patch)
tree7b9be10c508ee9a1fcfea8e661fa376b0ff8a8f3 /src/map/npc.c
parentfe89d7ef6e558134e58c95ddcbbe9f4f362c4119 (diff)
downloadhercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.gz
hercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.bz2
hercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.xz
hercules-af7c783667e77887131d186f51fb60f7dc31b87c.zip
- Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used for proper deletion of items as well as movement/spawn packets for Renewal clients.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
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;