summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 8393a6c26..c13ee253e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3316,7 +3316,7 @@ int status_calc_homunculus_(struct homun_data *hd, enum e_status_calc_opt opt) {
skill_lv = hom->level/10 + hstatus->int_/5;
hstatus->mdef = cap_value(skill_lv, 0, 99);
- amotion = (1000 -4*status->agi -status->dex) * hd->homunculusDB->baseASPD/1000;
+ amotion = (1000 -4*hstatus->agi - hstatus->dex) * hd->homunculusDB->baseASPD/1000;
#endif
hstatus->amotion = cap_value(amotion,battle_config.max_aspd,2000);