diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-08-07 15:00:26 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-08-07 15:02:22 -0700 |
commit | 21742909143df9159b2401c3e2a39cc0b2bad620 (patch) | |
tree | 98a0d14add0f316c9f7e0cfb1fe060c1278ac000 /src | |
parent | 5cde72ce83a6d6f4a7825b94e0ff984687f98009 (diff) | |
download | tmwa-21742909143df9159b2401c3e2a39cc0b2bad620.tar.gz tmwa-21742909143df9159b2401c3e2a39cc0b2bad620.tar.bz2 tmwa-21742909143df9159b2401c3e2a39cc0b2bad620.tar.xz tmwa-21742909143df9159b2401c3e2a39cc0b2bad620.zip |
Disable splash damage in townsv12.8.7
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 2 |
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, |