summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-18 09:03:24 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-18 09:19:08 +0100
commitb130e1375b16255fedb3b465bbcae9c9fe164987 (patch)
tree11801a02c183e877a6d7e87ea55ffa6076ffeb86 /crawl-ref/source/mon-util.cc
parent4f51c470f0a7b607a2a7a9fdf578ecfbb62476b4 (diff)
downloadcrawl-ref-b130e1375b16255fedb3b465bbcae9c9fe164987.tar.gz
crawl-ref-b130e1375b16255fedb3b465bbcae9c9fe164987.zip
Fix shambling mangroves not being neutral under Fedhas
There was no clear reason for them not to be when all other 'P' monsters were.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 4b2cdaae66..d0f43d2f00 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -938,7 +938,8 @@ bool mons_class_is_plant(monster_type mc)
{
return mons_genus(mc) == MONS_PLANT
|| mons_genus(mc) == MONS_FUNGUS
- || mons_species(mc) == MONS_BUSH;
+ || mons_species(mc) == MONS_BUSH
+ || mc == MONS_SHAMBLING_MANGROVE;
}
bool mons_is_plant(const monster* mon)