summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-12 23:36:34 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-13 00:06:16 +0100
commit92bf67d036734faa46331fd054131da1fdaa13b6 (patch)
tree3b2d9052e07b448d4304c0fb00886d0e6f2129be /crawl-ref/source/mon-info.cc
parenta6622f0a21421788f920c51a9d9c008510e95e3f (diff)
downloadcrawl-ref-92bf67d036734faa46331fd054131da1fdaa13b6.tar.gz
crawl-ref-92bf67d036734faa46331fd054131da1fdaa13b6.zip
Rename ENCH_NEUTRAL to ENCH_TEMP_PACIF since it's what it does.
Also, keep afflicted monsters from attacking the player. It's bad if they just got "impressed by your words" yet they hunt you and you can't even fight back.
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r--crawl-ref/source/mon-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc
index 0bc3e5c899..c62e6aaf1c 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -33,7 +33,7 @@ monster_info::monster_info(const monsters *m)
: m_mon(m), m_attitude(ATT_HOSTILE), m_difficulty(0),
m_brands(0), m_fullname(true)
{
- // XXX: this doesn't take into account ENCH_NEUTRAL, but that's probably
+ // XXX: this doesn't take into account ENCH_TEMP_PACIF, but that's probably
// a bug for mons_attitude, not this.
// XXX: also, mons_attitude_type should be sorted hostile/neutral/friendly;
// will break saves a little bit though.