diff options
author | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-05 05:57:00 +0000 |
---|---|---|
committer | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-05 05:57:00 +0000 |
commit | 3806ce4342a17497d19ce9b046d1fedff4a12f96 (patch) | |
tree | 7622a4c3f6d8c6c42829cb1472a4b12c78f48a09 /src/map | |
parent | 7d97ab538018917806545ad7060fd968c5e914a3 (diff) | |
download | hercules-3806ce4342a17497d19ce9b046d1fedff4a12f96.tar.gz hercules-3806ce4342a17497d19ce9b046d1fedff4a12f96.tar.bz2 hercules-3806ce4342a17497d19ce9b046d1fedff4a12f96.tar.xz hercules-3806ce4342a17497d19ce9b046d1fedff4a12f96.zip |
Fix for (r12475), wasn't checking to see if the target cell was walkable.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12486 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index d6ea76dfc..10662275d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4257,7 +4257,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in } clif_skill_nodamage(src,bl,TK_HIGHJUMP,skilllv,1); - if(map_count_oncell(src->m,x,y,BL_PC|BL_NPC|BL_MOB)) { + if(map_count_oncell(src->m,x,y,BL_PC|BL_NPC|BL_MOB) && map_getcell(src->m,x,y,CELL_CHKREACH)) { clif_slide(src,x,y); unit_movepos(src, x, y, 1, 0); } |