summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 5a0b7d422..2b267f201 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2308,15 +2308,6 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
return 0;
}
- if(md->sc.count) {
- if(md->sc.data[SC_CONFUSION].timer != -1)
- status_change_end(&md->bl, SC_CONFUSION, -1);
- if(md->sc.data[SC_HIDING].timer != -1)
- status_change_end(&md->bl, SC_HIDING, -1);
- if(md->sc.data[SC_CLOAKING].timer != -1)
- status_change_end(&md->bl, SC_CLOAKING, -1);
- }
-
if(damage > max_hp>>2)
skill_stop_dancing(&md->bl);