summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/party.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c
index b84d50c80..04845b247 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -992,9 +992,12 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
for (i = 0; i < c; i++) {
#ifdef RENEWAL_EXP
- party_renewal_exp_mod(&base_exp,&job_exp,sd[i]->status.base_level,src_lvl);
-#endif
+ unsigned int b_exp = base_exp, j_exp = job_exp;
+ party_renewal_exp_mod(&b_exp,&j_exp,sd[i]->status.base_level,src_lvl);
+ pc_gainexp(sd[i], src, b_exp, j_exp, false);
+#else
pc_gainexp(sd[i], src, base_exp, job_exp, false);
+#endif
if (zeny) // zeny from mobs [Valaris]
pc_getzeny(sd[i],zeny);
}