diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-09-25 09:27:09 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-09-25 09:27:09 -0500 |
commit | 292ffecef209155cb6eaf7627db5338c1a18575c (patch) | |
tree | 15c95dd5c2ba9763f1094e50051b19af634946ab /crawl-ref/source | |
parent | c592806b56f3b1a2793741f5a5a95d6317b3f089 (diff) | |
download | crawl-ref-292ffecef209155cb6eaf7627db5338c1a18575c.tar.gz crawl-ref-292ffecef209155cb6eaf7627db5338c1a18575c.zip |
Comment fixes.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/mon-util.h | 2 | ||||
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 3902c9c6bf..ff4bba2228 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -53,7 +53,7 @@ enum mon_attack_type AT_GORE, AT_SHOOT, // Attack representing missile damage for M_ARCHER. - AT_RANDOM // Anything but AT_SHOOT + AT_RANDOM // Anything but AT_SHOOT. }; enum mon_attack_flavour diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 66e1abeeb6..9fe39c0a6a 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -8089,7 +8089,7 @@ static bool _monster_eat_single_corpse(monsters *monster, item_def& item, { monster->hit_points += 1 + random2(mons_weight(item.plus)) / 100; - // Limited growth factor here -- should 77 really be the cap? {dlb}: + // Limited growth factor here - should 77 really be the cap? {dlb}: monster->hit_points = std::min(100, monster->hit_points); monster->max_hit_points = std::max(monster->hit_points, monster->max_hit_points); |