summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-29 13:57:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-29 13:57:41 +0000
commit3fed87361c9edc2ab38e56b6558c143fb2f96e5a (patch)
treee43cb6a78aea232903ef28a4b09f2400f89b043e /src/map/status.c
parent8601d24575d5880716bae8855021814975222da8 (diff)
downloadhercules-3fed87361c9edc2ab38e56b6558c143fb2f96e5a.tar.gz
hercules-3fed87361c9edc2ab38e56b6558c143fb2f96e5a.tar.bz2
hercules-3fed87361c9edc2ab38e56b6558c143fb2f96e5a.tar.xz
hercules-3fed87361c9edc2ab38e56b6558c143fb2f96e5a.zip
- Added a check un unit_run when unit_walktoxy fails. Should fix running getting you stuck sometimes when running on diagonals near obstacles.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8900 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 f5a739f76..a9609e5d7 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2389,7 +2389,7 @@ int status_calc_homunculus(struct homun_data *hd, int first)
*hd->homunculusDB->baseASPD/1000;
status->amotion = cap_value(skill,battle_config.max_aspd,2000);
- status->adelay = 2*status->amotion;
+ status->adelay = status->amotion; //It seems adelay = amotion for Homunculus.
status_calc_misc(&hd->bl, status, hom->level);
status_calc_bl(&hd->bl, SCB_ALL); //Status related changes.