diff --git a/doc/fixes37.0 b/doc/fixes37.0 index b3c97c6d9..5dcb5a9b5 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -759,6 +759,7 @@ when hitting with wet towel causes it to lose some wetness, defer "your towel do some extra damage when hitting an iron golem with a wet towel when already at level 30 and gaining another level--which doesn't increase level further but does add more HP and Pw--throttle the increases +don't stop running when next to a peaceful, unless it blocks the way Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/hack.c b/src/hack.c index 05b04fe79..a01821f5d 100644 --- a/src/hack.c +++ b/src/hack.c @@ -2947,9 +2947,9 @@ lookaround(void) && M_AP_TYPE(mtmp) != M_AP_FURNITURE && M_AP_TYPE(mtmp) != M_AP_OBJECT && mon_visible(mtmp)) { - /* running movement and not a tame monster */ + /* running movement and not a hostile monster */ /* OR it blocks our move direction and we're not traveling */ - if ((g.context.run != 1 && !mtmp->mtame) + if ((g.context.run != 1 && !is_safemon(mtmp)) || (x == u.ux + u.dx && y == u.uy + u.dy && !g.context.travel)) { if (flags.mention_walls)