diff options
-rw-r--r-- | crawl-ref/source/monstuff.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index cb652fbf45..12c4e2f1df 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -2598,7 +2598,8 @@ static void _handle_behaviour(monsters *mon) _set_nearest_monster_foe(mon); } - if (isNeutral && mon->foe == MHITNOT) + // Pacified monsters leaving the level prefer not to attack. + if (isNeutral && !isPacified && mon->foe == MHITNOT) _set_nearest_monster_foe(mon); // Monsters do not attack themselves. {dlb} |