diff options
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 82d07e159..fa1dd44cb 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5150,9 +5150,9 @@ int skill_castend_id(int tid, int64 tick, int id, intptr_t data) { } } - ud->skill_id = ud->skill_lv = ud->skilltarget = 0; if( !sd || sd->skillitem != ud->skill_id || skill->get_delay(ud->skill_id,ud->skill_lv) ) ud->canact_tick = tick; + ud->skill_id = ud->skill_lv = ud->skilltarget = 0; //You can't place a skill failed packet here because it would be //sent in ALL cases, even cases where skill_check_condition fails //which would lead to double 'skill failed' messages u.u [Skotlex] |