summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 53d5e6ac8..d1e47033f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -333,7 +333,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damag
if( !damage )
return 0;
- if( mob_ksprotected(src, bl) )
+ if( battle_config.ksprotection && mob_ksprotected(src, bl) )
return 0;
if (bl->type == BL_PC) {