summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index 4e50781..f745410 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -36,8 +36,6 @@
#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;
@@ -1105,7 +1103,7 @@ int epc_bonus_preHook(struct map_session_data **sd, int *type, int *val)
{
// int bHomunculusAtk = -1;
- if (*type == bHomunculusAtk) {
+ if (*type == bHomunculusAtkID) {
struct s_homunculus_atk *data;
if ((data = getFromMSD(*sd, 0)) == NULL) { /* don't have, create */
@@ -1119,7 +1117,7 @@ int epc_bonus_preHook(struct map_session_data **sd, int *type, int *val)
}
// int bHomunculusDef = -1;
- if (*type == bHomunculusDef) {
+ if (*type == bHomunculusDefID) {
struct s_homunculus_def *data;
if ((data = getFromMSD(*sd, 0)) == NULL) {
@@ -1133,7 +1131,7 @@ int epc_bonus_preHook(struct map_session_data **sd, int *type, int *val)
}
// int bHomunculusMaxHP = -1;
- if (*type == bHomunculusMaxHP) {
+ if (*type == bHomunculusMaxHPID) {
struct s_homunculus_maxhp *data;
if ((data = getFromMSD(*sd, 0)) == NULL) {