summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-28 00:24:42 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-28 00:24:42 -0300
commitb5f94d06c03240d4ff0aa604984a6b008316b573 (patch)
tree6eacf600a69336acebae3d6929fe022e91b80e7c
parent57efe9d138e39f6a3def438cf8b8136ca542d9a5 (diff)
downloadplugin-b5f94d06c03240d4ff0aa604984a6b008316b573.tar.gz
plugin-b5f94d06c03240d4ff0aa604984a6b008316b573.tar.bz2
plugin-b5f94d06c03240d4ff0aa604984a6b008316b573.tar.xz
plugin-b5f94d06c03240d4ff0aa604984a6b008316b573.zip
Fix some typos.
My bad.
-rw-r--r--src/echar/init.c1
-rw-r--r--src/echar/int_party.c5
-rw-r--r--src/emap/party.c6
3 files changed, 4 insertions, 8 deletions
diff --git a/src/echar/init.c b/src/echar/init.c
index 31faf8a..a697821 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -8,6 +8,7 @@
#include <string.h>
#include "common/HPMi.h"
+#include "common/nullpo.h"
#include "common/memmgr.h"
#include "common/mapindex.h"
#include "common/mmo.h"
diff --git a/src/echar/int_party.c b/src/echar/int_party.c
index 21f117a..e7cd658 100644
--- a/src/echar/int_party.c
+++ b/src/echar/int_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 "char/int_party.h"
#include "char/char.h"
@@ -13,10 +14,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) */
-
int einter_party_check_lv(struct party_data **p)
{
hookStop();
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]))