summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 7912e71c8..c336426a6 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3276,9 +3276,10 @@ bool battle_check_range(struct block_list *src,struct block_list *bl,int range)
if(src->m != bl->m) // 違うマップ
return false;
- if(src->type == BL_HOM && battle_config.hom_setting&0x2)
- range = battle_config.area_size + 1; //WTF, way to go Aegis and your awesome bugs.
+ if(src->type == BL_HOM && battle_config.hom_setting&0x2)
+ ; //WTF, way to go Aegis and your awesome bugs.
+ else
if (!check_distance_bl(src, bl, range))
return false;