summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-19 15:58:37 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-19 15:58:37 +0200
commitab42e76f527b28976b4cd1b4124dc25424184fdf (patch)
treec466d89066a598f5502dd4339f6fdfef0a08aa64 /src
parentacc4d2eb875ddf67898ae0ac443e76de2d640daa (diff)
downloadhercules-ab42e76f527b28976b4cd1b4124dc25424184fdf.tar.gz
hercules-ab42e76f527b28976b4cd1b4124dc25424184fdf.tar.bz2
hercules-ab42e76f527b28976b4cd1b4124dc25424184fdf.tar.xz
hercules-ab42e76f527b28976b4cd1b4124dc25424184fdf.zip
Fix compile error in pre-re follow: https://github.com/HerculesWS/Hercules/commit/acc4d2eb875ddf67898ae0ac443e76de2d640daa
Diffstat (limited to 'src')
-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);