summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 22c33f43d1..09f0b726e3 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -2632,6 +2632,10 @@ void behaviour_event(monsters *mon, int event, int src,
if (!mons_wont_attack(mon) && is_sanctuary(mon->pos()))
break;
+ // Pacified monsters shouldn't change their behaviour.
+ if (mons_is_pacified(mon))
+ break;
+
// Just set behaviour... foe doesn't change.
if (!mons_is_cornered(mon))
simple_monster_message(mon, " turns to fight!");