summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-05 01:15:35 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-05 01:18:29 -0500
commitb9593f0b29d9201502c53a35a43389b175943b61 (patch)
treef35216b6219400a6c0ea134fdd425be897447418 /crawl-ref/source/godabil.cc
parent3890b0dcf7b0b897edc1b04099f56709c18b012c (diff)
downloadcrawl-ref-b9593f0b29d9201502c53a35a43389b175943b61.tar.gz
crawl-ref-b9593f0b29d9201502c53a35a43389b175943b61.zip
Let Feawn worshipers travel/run through plants they can pass through.
Diffstat (limited to 'crawl-ref/source/godabil.cc')
-rw-r--r--crawl-ref/source/godabil.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc
index 84c527dd7b..3f010cd2ef 100644
--- a/crawl-ref/source/godabil.cc
+++ b/crawl-ref/source/godabil.cc
@@ -403,7 +403,9 @@ bool feawn_passthrough(const monsters * target)
{
return (target && you.religion == GOD_FEAWN
&& mons_is_plant(target)
- && mons_is_stationary(target));
+ && mons_is_stationary(target)
+ && (target->type != MONS_OKLOB_PLANT
+ || target->attitude != ATT_HOSTILE));
}
void jiyva_convert_slime(monsters* slime)