summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 67ceb03..7be069e 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -932,7 +932,7 @@ static int mob_attack (struct mob_data *md, unsigned int tick, int data)
// If you are reading this, please note:
// it is highly platform-specific that this even works at all.
int radius = battle_config.mob_splash_radius;
- if (radius >= 0 && tbl->type == BL_PC)
+ if (radius >= 0 && tbl->type == BL_PC && !map[tbl->m].flag.town)
map_foreachinarea(mob_ancillary_attack,
tbl->m, tbl->x - radius, tbl->y - radius, tbl->x + radius, tbl->y + radius,
BL_PC,