summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
commit6d7627cb65e54dae22237da82ea076bf17b1f9b7 (patch)
tree43eda0c3c953b041e1419650cc78a6ae9c381374 /crawl-ref/source/monstuff.h
parent66c0054398335a6929dd22d3690775027b9906b6 (diff)
downloadcrawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.tar.gz
crawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.zip
Add the Slime god as per n78291's (Shayne?) patch. Thanks! :D
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10271 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 899e304abd..6f8e3bab95 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -51,10 +51,11 @@ public:
#define MON_KILL(x) ((x) == KILL_MON || (x) == KILL_MON_MISSILE)
// useful macro
-#define SAME_ATTITUDE(x) (mons_friendly_real(x) ? BEH_FRIENDLY : \
- mons_good_neutral(x) ? BEH_GOOD_NEUTRAL : \
- mons_neutral(x) ? BEH_NEUTRAL \
- : BEH_HOSTILE)
+#define SAME_ATTITUDE(x) (mons_friendly_real(x) ? BEH_FRIENDLY : \
+ mons_good_neutral(x) ? BEH_GOOD_NEUTRAL : \
+ mons_strict_neutral(x) ? BEH_STRICT_NEUTRAL : \
+ mons_neutral(x) ? BEH_NEUTRAL \
+ : BEH_HOSTILE)
#define MONST_INTERESTING(x) (x->flags & MF_INTERESTING)