summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 13:05:43 +0300
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-07 20:09:50 +1000
commit7a869a2b8fa07f329376019d4846455ba7580939 (patch)
treeaf5b61881ef3c7fd37076aeeea8b05e9e49a18db /crawl-ref/source/monstuff.h
parentcef3b8421938589dc991e0976123fc6bd437146b (diff)
downloadcrawl-ref-7a869a2b8fa07f329376019d4846455ba7580939.tar.gz
crawl-ref-7a869a2b8fa07f329376019d4846455ba7580939.zip
Replace mons_strict_neutral with monsters::strict_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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 81fe96e6e3..2457ba9b5e 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -50,9 +50,9 @@ public:
#define SAME_ATTITUDE(x) (x->friendly() ? BEH_FRIENDLY : \
x->good_neutral() ? BEH_GOOD_NEUTRAL : \
- mons_strict_neutral(x) ? BEH_STRICT_NEUTRAL : \
+ x->strict_neutral() ? BEH_STRICT_NEUTRAL : \
x->neutral() ? BEH_NEUTRAL \
- : BEH_HOSTILE)
+ : BEH_HOSTILE)
#define MONST_INTERESTING(x) (x->flags & MF_INTERESTING)