summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-03-04 21:40:41 +0800
committerJedzkie <jedzkie13@rocketmail.com>2016-03-06 08:19:59 +0800
commit64b780ade282fc2269e7ffd2ef04d77539d2654d (patch)
treec72026ca010ccd73da595de6d22defb36a432641 /src
parentee60ae383259adedf6436fd2c6f72d4e5bddd909 (diff)
downloadhercules-64b780ade282fc2269e7ffd2ef04d77539d2654d.tar.gz
hercules-64b780ade282fc2269e7ffd2ef04d77539d2654d.tar.bz2
hercules-64b780ade282fc2269e7ffd2ef04d77539d2654d.tar.xz
hercules-64b780ade282fc2269e7ffd2ef04d77539d2654d.zip
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 )