diff options
author | shennetsind <ind@henn.et> | 2013-07-26 09:59:30 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-26 09:59:30 -0300 |
commit | b23563de5f9abde73600f84aff1d24d9f3b53bc5 (patch) | |
tree | 21ed35a07c74c224957b888b12e387cdd3751561 /src/map/mob.c | |
parent | 583272234fc96da7911029cd3cad13a7fb386e9e (diff) | |
parent | e9e8914ebfa70c1c212d0a7d7173b6da9e0e5b60 (diff) | |
download | hercules-b23563de5f9abde73600f84aff1d24d9f3b53bc5.tar.gz hercules-b23563de5f9abde73600f84aff1d24d9f3b53bc5.tar.bz2 hercules-b23563de5f9abde73600f84aff1d24d9f3b53bc5.tar.xz hercules-b23563de5f9abde73600f84aff1d24d9f3b53bc5.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 601ecd110..9cd05a8a3 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1364,7 +1364,7 @@ int mob_randomwalk(struct mob_data *md,unsigned int tick) speed=iStatus->get_speed(&md->bl); for(i=c=0;i<md->ud.walkpath.path_len;i++){ // The next walk start time is calculated. if(md->ud.walkpath.path[i]&1) - c+=speed*14/10; + c+=speed*MOVE_DIAGONAL_COST/MOVE_COST; else c+=speed; } |