summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 18:11:32 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-09 18:11:32 +0000
commit0638d728c718e648e622a524e5c3010d23b049d0 (patch)
tree5f7786bcb230531682387b34e77598c7a4bbfbc7 /src/map/skill.c
parentd9cf596186c4432f100a70a5395587536a879223 (diff)
downloadhercules-0638d728c718e648e622a524e5c3010d23b049d0.tar.gz
hercules-0638d728c718e648e622a524e5c3010d23b049d0.tar.bz2
hercules-0638d728c718e648e622a524e5c3010d23b049d0.tar.xz
hercules-0638d728c718e648e622a524e5c3010d23b049d0.zip
- Fixed @npcmove not sending the correct packets to make the moving refresh client-side.
- Fixed mobs with aggressive + looter mode never looting. - skill_wall_check now also checks for pits so that skill effects don't go through them. - Now you can't leave/be-kicked from a guild inside guild castles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5969 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5537e1349..5d2797fe3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6557,7 +6557,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_search2(&wpd,src->m,ux,uy,x,y,0x1)==-1)
+ if (path_search_real(&wpd,src->m,ux,uy,x,y,0x1,CELL_CHKNOREACH) == -1)
alive = 0;
}