summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-12 23:13:50 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-13 00:06:16 +0100
commita6622f0a21421788f920c51a9d9c008510e95e3f (patch)
tree87cf1da09a6debc135f9d0f6645bec1e94d32da6 /crawl-ref/source/mon-util.cc
parent3cb73e26c3837e247053c0c23b77081d42624d8c (diff)
downloadcrawl-ref-a6622f0a21421788f920c51a9d9c008510e95e3f.tar.gz
crawl-ref-a6622f0a21421788f920c51a9d9c008510e95e3f.zip
Make perma-pacified monsters good_neutral instead of neutral.
This means they won't attack the player. Perma-pacifying can currently occur for: * Ely's healing * Zin's "totally impressed" (an extreme case of recite) * Pikel's slaves being freed
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 4dcdd53303..00d3ca9986 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -2145,7 +2145,7 @@ void mons_stop_fleeing_from_sanctuary(monsters *monster)
void mons_pacify(monsters *mon)
{
// Make the monster permanently neutral.
- mon->attitude = ATT_NEUTRAL;
+ mon->attitude = ATT_GOOD_NEUTRAL;
mon->flags |= MF_WAS_NEUTRAL;
if (!testbits(mon->flags, MF_GOT_HALF_XP) && !mon->is_summoned())