- Changed the skill_wall_check to use shoot-path seeking. May fix skill_wall_check setting.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6291 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-04-26 13:43:10 +00:00
parent 8fab64aa3c
commit 6aa5c83229
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/26 2006/04/26
* Changed the skill_wall_check to use shoot-path seeking. May fix
skill_wall_check setting. [Skotlex]
* Fixed typo in skill.c: skill_clear_group [Lance] * Fixed typo in skill.c: skill_clear_group [Lance]
2006/04/25 2006/04/25

View File

@ -6553,8 +6553,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,
if (alive && battle_config.skill_wall_check) { if (alive && battle_config.skill_wall_check) {
//Check if there's a path between cell and center of casting. //Check if there's a path between cell and center of casting.
struct walkpath_data wpd; if (!path_search_long(NULL,src->m,ux,uy,x,y))
if (path_search_real(&wpd,src->m,ux,uy,x,y,0x1,CELL_CHKWALL) == -1)
alive = 0; alive = 0;
} }