summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-13 01:50:34 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-13 01:50:34 -0500
commite55cf763ffe7a240f57663731d820b8bff78219b (patch)
tree8cea1c95475ca00958b7c89e8abeddeaf732fe00 /crawl-ref/source/monster.cc
parent5e448f7064f29d42f4d22e177c05acdae0da2d5c (diff)
downloadcrawl-ref-e55cf763ffe7a240f57663731d820b8bff78219b.tar.gz
crawl-ref-e55cf763ffe7a240f57663731d820b8bff78219b.zip
Use monster_iterator in ballistomycete functions
Also some comment and whitespace changes.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index 393985e1ef..2944ff1188 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -6058,8 +6058,8 @@ int mon_enchant::calc_duration(const monsters *mons,
return (2 * FRESHEST_CORPSE + random2(10))
* speed_to_duration(mons->speed) * mons->speed / 10;
case ENCH_SPORE_PRODUCTION:
- // The duration of the spore production timer depends on the color
- // of the fungus
+ // This is used as a simple timer, when the enchantment runs out
+ // the monster will create a giant spore.
cturn = 150;
break;