summaryrefslogtreecommitdiff
path: root/src/emap/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/status.c')
-rw-r--r--src/emap/status.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/emap/status.c b/src/emap/status.c
index 16f552c..eead81f 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -39,8 +39,6 @@
#include "emap/enum/esctype.h"
#include "emap/enum/esitype.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 class_move_speed[CLASS_COUNT];
void eInitChangeTables(void)
@@ -304,15 +302,15 @@ int estatus_calc_homunculus_postHook(int retVal, struct homun_data *hd, enum e_s
const struct s_homunculus_def *hddef;
const struct s_homunculus_maxhp *hdmaxhp;
- if ((hdatk = getFromMSD(*sd,0)) != NULL) {
+ if ((hdatk = getFromMSD(sd,0)) != NULL) {
hd->battle_status.rhw.atk+=hdatk->rate;
}
- if ((hddef = getFromMSD(*sd,0)) != NULL) {
+ if ((hddef = getFromMSD(sd,0)) != NULL) {
hd->battle_status.def+=hddef->rate;
}
- if ((hdmaxhp = getFromMSD(*sd,0)) != NULL) {
+ if ((hdmaxhp = getFromMSD(sd,0)) != NULL) {
hd->battle_status.max_hp+=hdmaxhp->rate;
}