summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-02 09:40:01 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-02 09:40:01 +0000
commitbdc1c715db65c2d9378dcff685c4b6b87d752da7 (patch)
tree8e61570a2c4e91eaa34c96e2967068e1e927ec07 /src/map/unit.c
parent063d2e1d4f802a4379bef408ce968a49d209f90f (diff)
downloadhercules-bdc1c715db65c2d9378dcff685c4b6b87d752da7.tar.gz
hercules-bdc1c715db65c2d9378dcff685c4b6b87d752da7.tar.bz2
hercules-bdc1c715db65c2d9378dcff685c4b6b87d752da7.tar.xz
hercules-bdc1c715db65c2d9378dcff685c4b6b87d752da7.zip
-Follow up r17065
--removing useless check on skill_id --fix few broken atcommand due to failed sscanf -Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 110fcb079..eb8eac589 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -866,8 +866,6 @@ int unit_stop_walking(struct block_list *bl,int type)
int unit_skilluse_id(struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv)
{
- if(skill_id < 0) return 0;
-
return unit_skilluse_id2(
src, target_id, skill_id, skill_lv,
skill_castfix(src, skill_id, skill_lv),
@@ -1368,8 +1366,6 @@ int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id, ui
int unit_skilluse_pos(struct block_list *src, short skill_x, short skill_y, uint16 skill_id, uint16 skill_lv)
{
- if(skill_id < 0)
- return 0;
return unit_skilluse_pos2(
src, skill_x, skill_y, skill_id, skill_lv,
skill_castfix(src, skill_id, skill_lv),