diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-26 09:46:45 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-26 09:46:45 +0000 |
commit | ffcebec91192484588b2a5853782d026e5370f0c (patch) | |
tree | 2e97d4e2b613bf2395f0f1b47435c0caf1686cc5 /src/map/clif.c | |
parent | 4eabbb012ad6e6a4b9b3343e090b96de2841c1cf (diff) | |
download | hercules-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/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index c67321d3c..a4b7ea2f2 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9386,8 +9386,8 @@ void clif_parse_NpcBuyListSend(int fd,struct map_session_data *sd) if((nd = ((struct npc_data *)map_id2bl(sd->npc_shopid))->master_nd)){
sprintf(npc_ev, "%s::OnBuyItem", nd->exname);
for(i=0;i<n;i++){
- setd_sub(NULL,sd, "@bought_nameid", i, (void *)((int)item_list[i*2+1]));
- setd_sub(NULL,sd, "@bought_quantity", i, (void *)((int)item_list[i*2]));
+ setd_sub(NULL,sd, "@bought_nameid", i, (void *)((int)item_list[i*2+1]),NULL);
+ setd_sub(NULL,sd, "@bought_quantity", i, (void *)((int)item_list[i*2]),NULL);
}
npc_event(sd, npc_ev, 0);
fail = 0;
|