From 5f608a3e128d68ca34fa582d939dc63b17822fb5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 26 Apr 2006 13:43:10 +0000 Subject: - Changed the skill_wall_check to use shoot-path seeking. May fix skill_wall_check setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6291 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 887bc62ce..e25d79d2b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6553,8 +6553,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid, if (alive && battle_config.skill_wall_check) { //Check if there's a path between cell and center of casting. - struct walkpath_data wpd; - if (path_search_real(&wpd,src->m,ux,uy,x,y,0x1,CELL_CHKWALL) == -1) + if (!path_search_long(NULL,src->m,ux,uy,x,y)) alive = 0; } -- cgit v1.2.3-70-g09d2