summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-07-02 19:44:07 +0200
committerHaru <haru@dotalux.com>2016-07-02 19:44:07 +0200
commitca57b7b09063f40447fb37abe041116f4353b760 (patch)
tree333854964a4ea30cabaf5ae3e9ebb332f62ab857
parent22a2d638f50b3f81860eea278a08ce75b55a2e24 (diff)
downloadhercules-ca57b7b09063f40447fb37abe041116f4353b760.tar.gz
hercules-ca57b7b09063f40447fb37abe041116f4353b760.tar.bz2
hercules-ca57b7b09063f40447fb37abe041116f4353b760.tar.xz
hercules-ca57b7b09063f40447fb37abe041116f4353b760.zip
Removed some unused variables
Follow-up to ff75470f7085c3ca23a9b16be43881b6bc953345 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/party.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/party.c b/src/map/party.c
index f19e1b475..d0d466083 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -957,9 +957,6 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
{
struct map_session_data* sd[MAX_PARTY];
unsigned int i, c;
-#ifdef RENEWAL_EXP
- unsigned int job_exp_bonus, base_exp_bonus;
-#endif
nullpo_ret(p);
nullpo_ret(src);
@@ -987,11 +984,6 @@ int party_exp_share(struct party_data* p, struct block_list* src, unsigned int b
zeny = (unsigned int) cap_value(zeny * bonus/100, INT_MIN, INT_MAX);
}
-#ifdef RENEWAL_EXP
- base_exp_bonus = base_exp;
- job_exp_bonus = job_exp;
-#endif
-
for (i = 0; i < c; i++) {
pc->gainexp(sd[i], src, base_exp, job_exp, false);