diff options
author | Haruna <haru@dotalux.com> | 2015-09-12 19:55:55 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-09-12 19:55:55 +0200 |
commit | 41ba7b50888610d43dcf3bcccb77ee3debe13532 (patch) | |
tree | 8abd38674459f4c53a077684521ec9de883d7782 /src/map/battle.c | |
parent | d8caa7c8e7296a87072b6775902b985a1faebadf (diff) | |
parent | 23f06359b540d369eff74d5454d2fe58b38b9630 (diff) | |
download | hercules-41ba7b50888610d43dcf3bcccb77ee3debe13532.tar.gz hercules-41ba7b50888610d43dcf3bcccb77ee3debe13532.tar.bz2 hercules-41ba7b50888610d43dcf3bcccb77ee3debe13532.tar.xz hercules-41ba7b50888610d43dcf3bcccb77ee3debe13532.zip |
Merge pull request #713 from 4144/pathext
Add to path search functions source bl for plugins usage.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 6536e54c4..6a6924aa3 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6689,7 +6689,7 @@ bool battle_check_range(struct block_list *src, struct block_list *bl, int range if( d > AREA_SIZE ) return false; // Avoid targeting objects beyond your range of sight. - return path->search_long(NULL,src->m,src->x,src->y,bl->x,bl->y,CELL_CHKWALL); + return path->search_long(NULL,src,src->m,src->x,src->y,bl->x,bl->y,CELL_CHKWALL); } static const struct battle_data { |