summaryrefslogtreecommitdiff
path: root/src/emap/party.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/party.c')
-rw-r--r--src/emap/party.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emap/party.c b/src/emap/party.c
index b3e1d12..482fbd6 100644
--- a/src/emap/party.c
+++ b/src/emap/party.c
@@ -2,6 +2,7 @@
// Copyright (c) 2014 - 2015 Evol developers
#include "common/hercules.h"
+#include "common/HPMi.h"
#include "common/nullpo.h"
#include "common/timer.h"
#include "common/socket.h" // last_tick
@@ -15,10 +16,6 @@
#include "plugins/HPMHooking.h"
-HPExport struct HPMHooking_interface HPMHooking_s;
-
-#include "common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */
-
// exp share and added zeny share [Valaris]
int eparty_exp_share(struct party_data **p, struct block_list **src, unsigned int *baseexp, unsigned int *jobexp, int *zeny __attribute__ ((unused)))
{
@@ -29,6 +26,7 @@ int eparty_exp_share(struct party_data **p, struct block_list **src, unsigned in
nullpo_ret(p);
nullpo_ret(src);
+ lvl=0;
// count the number of players eligible for exp sharing
// TODO: (battle_config.idle_no_share && pc_isidle(sd[c]))