summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c3da30b6a..ad3d758c3 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2704,7 +2704,7 @@ int pc_useitem(struct map_session_data *sd,int n)
}
sd->canuseitem_tick= tick + battle_config.item_use_interval; //Update item use time.
- run_script(script,0,sd->bl.id,0);
+ run_script(script,0,sd->bl.id,fake_npc_id);
potion_flag = 0;
return 1;
}