summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 09:46:45 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 09:46:45 +0000
commitffcebec91192484588b2a5853782d026e5370f0c (patch)
tree2e97d4e2b613bf2395f0f1b47435c0caf1686cc5 /src/map/npc.c
parent4eabbb012ad6e6a4b9b3343e090b96de2841c1cf (diff)
downloadhercules-ffcebec91192484588b2a5853782d026e5370f0c.tar.gz
hercules-ffcebec91192484588b2a5853782d026e5370f0c.tar.bz2
hercules-ffcebec91192484588b2a5853782d026e5370f0c.tar.xz
hercules-ffcebec91192484588b2a5853782d026e5370f0c.zip
* Mob control engine tested 99% working so far.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6770 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 37e47585c..616042811 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1268,8 +1268,8 @@ int npc_selllist(struct map_session_data *sd,int n,unsigned short *item_list)
log_pick(sd, "S", 0, nameid, qty, &sd->status.inventory[idx]);
if(nd) {
- setd_sub(NULL,sd, "@sold_nameid", i, (void *)(int)sd->status.inventory[idx].nameid);
- setd_sub(NULL,sd, "@sold_quantity", i, (void *)(int)qty);
+ setd_sub(NULL,sd, "@sold_nameid", i, (void *)(int)sd->status.inventory[idx].nameid,NULL);
+ setd_sub(NULL,sd, "@sold_quantity", i, (void *)(int)qty,NULL);
}
itemamount+=qty;
pc_delitem(sd,idx,qty,0);