summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-10 20:35:56 +0100
committerHaru <haru@dotalux.com>2016-03-10 20:35:56 +0100
commitfa1459d521bab6c33a57bfa25a66855e3df521f0 (patch)
tree2bda90b9074c4c4c8eed1a0c67a314ff3d69ab71 /src
parentb18a0e350abe20202ba787716feb7b39a23b6de4 (diff)
parent64b780ade282fc2269e7ffd2ef04d77539d2654d (diff)
downloadhercules-fa1459d521bab6c33a57bfa25a66855e3df521f0.tar.gz
hercules-fa1459d521bab6c33a57bfa25a66855e3df521f0.tar.bz2
hercules-fa1459d521bab6c33a57bfa25a66855e3df521f0.tar.xz
hercules-fa1459d521bab6c33a57bfa25a66855e3df521f0.zip
Merge pull request #1181 from HerculesWS/AB_CLEARANCE
Fixes #1114
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 55bf30338..de5368cdf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8518,9 +8518,8 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
for(i = 0; i < SC_MAX; i++) {
if ( !tsc->data[i] )
continue;
- if( SC_COMMON_MAX > i )
- if ( status->get_sc_type(i)&SC_NO_CLEARANCE )
- continue;
+ if (status->get_sc_type(i)&SC_NO_CLEARANCE)
+ continue;
switch (i) {
case SC_ASSUMPTIO:
if( bl->type == BL_MOB )