summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
commitd54cf73f7ca82bdfd4949d7987e90fa14c23833b (patch)
treea7b392b3e57b73122054bc53ff773a8b35bb142e /src/map/script.c
parent997bac8c9963354d53d467208e09c24d57055c1d (diff)
downloadtmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.gz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.bz2
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.xz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.zip
Add functionality for healer XP handling
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 9e4880e..e15ee4d 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3628,7 +3628,7 @@ int buildin_getexp(struct script_state *st)
if(base<0 || job<0)
return 0;
if(sd)
- pc_gainexp(sd,base,job);
+ pc_gainexp_reason(sd,base,job, PC_GAINEXP_REASON_SCRIPT);
return 0;
}