summaryrefslogtreecommitdiff
path: root/src/emap/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/skill.c')
-rw-r--r--src/emap/skill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/skill.c b/src/emap/skill.c
index 87cefdf..435c3a7 100644
--- a/src/emap/skill.c
+++ b/src/emap/skill.c
@@ -20,8 +20,8 @@
int eskill_check_condition_castend_post(int retVal,
TBL_PC* sd,
- uint16 *skill_id,
- uint16 *skill_lv)
+ uint16 skill_id,
+ uint16 skill_lv)
{
if (retVal && sd)
{
@@ -35,8 +35,8 @@ int eskill_check_condition_castend_post(int retVal,
struct event_data* ev = node->data;
if (ev)
{
- pc->setreg(sd, script->add_str("@skillId"), *skill_id);
- pc->setreg(sd, script->add_str("@skillLv"), *skill_lv);
+ pc->setreg(sd, script->add_str("@skillId"), skill_id);
+ pc->setreg(sd, script->add_str("@skillLv"), skill_lv);
script->run(ev->nd->u.scr.script, ev->pos, sd->bl.id, ev->nd->bl.id);
}
node = node->next;