summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 12:33:40 +0300
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-07 19:52:53 +1000
commit3232b4719ebfaccae12c628b01c6ca37ad38254e (patch)
treee95548b672dddc54a27c8fe3124809a82ef0b914 /crawl-ref/source/monstuff.h
parent19c21942c0fd98b8034920f9bebd96bc8a8a5261 (diff)
downloadcrawl-ref-3232b4719ebfaccae12c628b01c6ca37ad38254e.tar.gz
crawl-ref-3232b4719ebfaccae12c628b01c6ca37ad38254e.zip
Replace mons_neutral with monsters::neutral.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 9a81bbf280..b0b5b24ef6 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -51,7 +51,7 @@ public:
#define SAME_ATTITUDE(x) (x->friendly() ? BEH_FRIENDLY : \
mons_good_neutral(x) ? BEH_GOOD_NEUTRAL : \
mons_strict_neutral(x) ? BEH_STRICT_NEUTRAL : \
- mons_neutral(x) ? BEH_NEUTRAL \
+ x->neutral() ? BEH_NEUTRAL \
: BEH_HOSTILE)
#define MONST_INTERESTING(x) (x->flags & MF_INTERESTING)