diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-24 04:44:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-24 04:44:42 +0000 |
commit | a1a607a7df66f104510ed3751fb412ececebf199 (patch) | |
tree | cddda667694d51205350a329f4b3d034a15d0760 /src/map | |
parent | 0cde44de9a47352f1220749a96f96d9e3720e767 (diff) | |
download | hercules-a1a607a7df66f104510ed3751fb412ececebf199.tar.gz hercules-a1a607a7df66f104510ed3751fb412ececebf199.tar.bz2 hercules-a1a607a7df66f104510ed3751fb412ececebf199.tar.xz hercules-a1a607a7df66f104510ed3751fb412ececebf199.zip |
- Fixed a crash in unit_useskill_pos2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5725 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 4280f9662..1b451e2fe 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -943,7 +943,7 @@ int unit_skilluse_pos2( struct block_list *src, int skill_x, int skill_y, int sk bl.x = skill_x;
bl.y = skill_y;
if(skill_num != TK_HIGHJUMP &&
- !battle_check_range(src,&bl,skill_get_range2(&sd->bl, skill_num,skill_lv)+1))
+ !battle_check_range(src,&bl,skill_get_range2(src, skill_num,skill_lv)+1))
return 0;
unit_stop_attack(src);
|