summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-10-23 19:47:56 -0400
committerCharles Otto <ottochar@gmail.com>2009-10-25 14:44:42 -0400
commit77620b7075494d78dda86ab8f69fd777d2e9eb37 (patch)
tree5778195be2fe276aa2f86a3a0e6b4a6f9f1d8c2d /crawl-ref/source/mon-util.cc
parentff071c7f1a5e5b7cb3b994297e46168acae30a7e (diff)
downloadcrawl-ref-77620b7075494d78dda86ab8f69fd777d2e9eb37.tar.gz
crawl-ref-77620b7075494d78dda86ab8f69fd777d2e9eb37.zip
Preliminarily add a new fungus species to replace fungus w.r.t. spores
Add a fungus species ('ballistomycete') to use in place of fungus in spores explosions etc. Fix a couple message leaks (wrong version of see_cell used in monaters::apply_enchantment)
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 053ac96a28..617d8a1bd5 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -7664,7 +7664,7 @@ void monsters::apply_enchantment(const mon_enchant &me)
// If you are no longer dying, you must be dead.
if (decay_enchantment(me))
{
- if (see_cell(this->position))
+ if (::see_cell(this->position))
{
mprf("A nearby %s withers and dies.",
this->name(DESC_PLAIN, false).c_str());
@@ -7704,7 +7704,7 @@ void monsters::apply_enchantment(const mon_enchant &me)
{
env.mons[rc].behaviour = BEH_WANDER;
- if (see_cell(adjacent) && see_cell(pos()))
+ if (::see_cell(adjacent) && ::see_cell(pos()))
mpr("A nearby fungus spawns a giant spore.");
}
break;