summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-13 19:27:40 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-13 19:47:25 -0500
commit693fc6950536238c4ce6155b67da539f0649e066 (patch)
tree9bcb512b7147c815d665bba128154ade371fd206 /crawl-ref/source/mon-util.cc
parentd0a94abb9815bb0b708ba7c4c2c84880d72ad19e (diff)
downloadcrawl-ref-693fc6950536238c4ce6155b67da539f0649e066.tar.gz
crawl-ref-693fc6950536238c4ce6155b67da539f0649e066.zip
Ballistomycete behavior improvements
Don't show wandering/dormant etc. for ballistomycetes. Consider inactive ballistomycetes harmless for travel purposes.
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 ff1f29dfac..e84cc2d55e 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -491,7 +491,8 @@ bool mons_behaviour_perceptible(const monsters *mon)
return (!mons_class_flag(mon->type, M_NO_EXP_GAIN)
&& !mons_is_mimic(mon->type)
&& !mons_is_statue(mon->type)
- && mon->type != MONS_OKLOB_PLANT);
+ && mon->type != MONS_OKLOB_PLANT
+ && mon->type != MONS_BALLISTOMYCETE);
}
// Returns true for monsters that obviously (to the player) feel