summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-07 12:34:50 +0300
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-07 19:52:54 +1000
commitef68100a9c4b18e9dd8b77413d3408b64f756f91 (patch)
treee35424b6335bfab82d5dc729132769c122c6c978 /crawl-ref/source/monstuff.h
parent3232b4719ebfaccae12c628b01c6ca37ad38254e (diff)
downloadcrawl-ref-ef68100a9c4b18e9dd8b77413d3408b64f756f91.tar.gz
crawl-ref-ef68100a9c4b18e9dd8b77413d3408b64f756f91.zip
Replace mons_good_neutral with monsters::good_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 b0b5b24ef6..81fe96e6e3 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -49,7 +49,7 @@ public:
#define MON_KILL(x) ((x) == KILL_MON || (x) == KILL_MON_MISSILE)
#define SAME_ATTITUDE(x) (x->friendly() ? BEH_FRIENDLY : \
- mons_good_neutral(x) ? BEH_GOOD_NEUTRAL : \
+ x->good_neutral() ? BEH_GOOD_NEUTRAL : \
mons_strict_neutral(x) ? BEH_STRICT_NEUTRAL : \
x->neutral() ? BEH_NEUTRAL \
: BEH_HOSTILE)