summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 181b50084..9e082a61c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5625,7 +5625,7 @@ int buildin_getexp(struct script_state *st)
if(base<0 || job<0)
return 0;
if(sd)
- pc_gainexp(sd,base,job);
+ pc_gainexp(sd,NULL,base,job);
return 0;
}