summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-16 00:07:16 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-16 00:07:16 +0000
commit9c2f6c141486530c03ceb01261bd975a95a7f9b8 (patch)
treeddaf3a3313c2be200052f80d17859e85e6281717 /src/map/skill.c
parente450622d0c6568516c6ee9b1951451a0f9e71ca0 (diff)
downloadhercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.gz
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.bz2
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.xz
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.zip
Fixed TK_JUMPKICK, should not jump over objects and cliffs.
- This also might fix them being able to jump barricades on WoESE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12962 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 3777078e6..cf81ad720 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2379,7 +2379,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
case TK_JUMPKICK:
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
- if (unit_movepos(src, bl->x, bl->y, 0, 0))
+ if (unit_movepos(src, bl->x, bl->y, 1, 1)) //Should not jump over objects and cliffs
clif_slide(src,bl->x,bl->y);
break;