diff options
author | Haru <haru@dotalux.com> | 2015-05-12 01:29:40 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-05-12 01:29:40 +0200 |
commit | 03a46dc6a7155cbd723d5961e5c9e1cfea3e8edf (patch) | |
tree | c694b39fbf84e8a2d812d89028ee8449ed93fc60 /src/map/skill.c | |
parent | a56c2ff71c4ab164deda465c8e09e42dc5fd956a (diff) | |
download | hercules-03a46dc6a7155cbd723d5961e5c9e1cfea3e8edf.tar.gz hercules-03a46dc6a7155cbd723d5961e5c9e1cfea3e8edf.tar.bz2 hercules-03a46dc6a7155cbd723d5961e5c9e1cfea3e8edf.tar.xz hercules-03a46dc6a7155cbd723d5961e5c9e1cfea3e8edf.zip |
Follow-up to 2b4f2993
Related: fff2194, http://hercules.ws/board/tracker/issue-8672-map-server-error/
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-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] |