diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 20:19:56 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 20:19:56 +0000 |
commit | 250a8f539f87eb04e2321b6a0a6cd5850f38ac65 (patch) | |
tree | c8daac1a7392ce7a41dbb3e196c69b6ff38081d9 /src/map/unit.c | |
parent | 5af84391c50d5625c870d567e298b0628ba2a4ef (diff) | |
download | hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.gz hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.bz2 hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.xz hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.zip |
Merged mpeg's fix on ninja skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8012 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 2edc69e47..5cfd25093 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -466,7 +466,7 @@ int unit_setdir(struct block_list *bl,unsigned char dir) ud->dir = dir; if (bl->type == BL_PC) ((TBL_PC *)bl)->head_dir = dir; - clif_changed_dir(bl); + clif_changed_dir(bl, AREA); return 0; } @@ -1006,7 +1006,7 @@ int unit_skilluse_pos2( struct block_list *src, int skill_x, int skill_y, int sk bl.m = src->m; bl.x = skill_x; bl.y = skill_y; - if(skill_num != TK_HIGHJUMP && + if(skill_num != TK_HIGHJUMP && skill_num != NJ_SHADOWJUMP && !battle_check_range(src,&bl,skill_get_range2(src, skill_num,skill_lv)+1)) return 0; |