diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 9244c00d3..22cd3c8a0 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -3959,7 +3959,7 @@ int buildin_getitem(struct script_state *st) return 0; if((flag = pc_additem(sd,&item_tmp,amount))) { clif_additem(sd,0,0,flag); - if(pc_candrop(sd,nameid)) + if (pc_candrop(sd, &item_tmp)) map_addflooritem(&item_tmp,amount,sd->bl.m,sd->bl.x,sd->bl.y,NULL,NULL,NULL,0); } |