summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-14 22:17:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-14 22:17:34 -0300
commitc6cb659fb409a8079c986e9099a8f8f312a02249 (patch)
treec62058b429eb1d93a90240ea7b3f51e7d494813a /src/emap/pc.c
parentfc236458d578be63c6fda0e59428f098a01e9a88 (diff)
downloadevol-hercules-c6cb659fb409a8079c986e9099a8f8f312a02249.tar.gz
evol-hercules-c6cb659fb409a8079c986e9099a8f8f312a02249.tar.bz2
evol-hercules-c6cb659fb409a8079c986e9099a8f8f312a02249.tar.xz
evol-hercules-c6cb659fb409a8079c986e9099a8f8f312a02249.zip
Fix remaining bugs but one
../../src/emap/status.c: In function 'estatus_calc_homunculus_postHook': ../../../common/HPMi.h:115:78: error: invalid type argument of '->' (have 'struct map_session_data') define getFromMSD(ptr,classid) (HPMi->getFromHPData(HPDT_MSD,HPMi->pid,(ptr)->hdata,(classid))) ^ ../../src/emap/status.c:307:15: note: in expansion of macro 'getFromMSD' if ((hdatk = getFromMSD(*sd,0)) != NULL) { ^~~~~~~~~~
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index b2acafe..4e50781 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -36,13 +36,11 @@
#include "emap/struct/mapdext.h"
#include "emap/struct/sessionext.h"
+#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 langScriptId;
int mountScriptId;
-int bHomunculusAtk = -1;
-int bHomunculusDef = -1;
-int bHomunculusMaxHP = -1;
-
int64 epc_readparam_pre(const TBL_PC **sdPtr,
int *type)
{