summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-11 19:16:47 -0300
committerpanikon <panikon@zoho.com>2014-07-11 19:16:47 -0300
commitda4f06859fd49393ddd82c07a0586a20cb5ad4f6 (patch)
tree90c2b0052c5eaa49e5f1ef41b13ad25d555eaae1 /src/map/script.c
parent901a8c9cdf891fb65e160094e52346b2aa4e9754 (diff)
downloadhercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.gz
hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.bz2
hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.xz
hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.zip
Fixed issue with quest exp and bonuses, issue: 8247 http://hercules.ws/board/index.php?app=tracker&showissue=8247
Corrected *getexp documentation Documented and changed pc_gainexp type
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 8fb3975f8..9fe746c8c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8966,7 +8966,7 @@ BUILDIN(getexp)
base = (int) cap_value(base * bonus, 0, INT_MAX);
job = (int) cap_value(job * bonus, 0, INT_MAX);
- pc->gainexp(sd, NULL, base, job, true);
+ pc->gainexp(sd, &sd->bl, base, job, true);
return true;
}