diff options
author | shennetsind <ind@henn.et> | 2013-09-16 12:17:17 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-16 12:17:17 -0300 |
commit | 7f933ea6cb66e4deb2dc53c7aa3a96d82cb2884d (patch) | |
tree | 99d467fe5f3d87428fea8cf642e3b7e1307cb7c7 /src/map/mob.c | |
parent | a1bdf6b04263653699c3ea0ec428aadb7b297fec (diff) | |
download | hercules-7f933ea6cb66e4deb2dc53c7aa3a96d82cb2884d.tar.gz hercules-7f933ea6cb66e4deb2dc53c7aa3a96d82cb2884d.tar.bz2 hercules-7f933ea6cb66e4deb2dc53c7aa3a96d82cb2884d.tar.xz hercules-7f933ea6cb66e4deb2dc53c7aa3a96d82cb2884d.zip |
HPM: Path.c Interface
Fully Integrated
Signed-off-by: shennetsind <ind@henn.et>
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 94d5b3527..701a89b6c 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1081,7 +1081,7 @@ int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap) ) { //Pick closest target? if( map[bl->m].icewall_num && - !path_search_long(NULL,bl->m,md->bl.x,md->bl.y,bl->x,bl->y,CELL_CHKICEWALL) ) { + !path->search_long(NULL,bl->m,md->bl.x,md->bl.y,bl->x,bl->y,CELL_CHKICEWALL) ) { if( !check_distance_bl(&md->bl, bl, status_get_range(&md->bl) ) ) return 0; |