|
@@ -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;
|
|
|
}
|
|
|
|