summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 13:48:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 13:48:41 +0000
commit416bb292eb8bab5f0bb094a369921703663e5bb6 (patch)
tree55aab265d09ffb5b3678565e00e547e0d8bc866d
parent5efa1b02a6e29677fa569c264a5f2c99c114995b (diff)
downloadcrawl-ref-416bb292eb8bab5f0bb094a369921703663e5bb6.tar.gz
crawl-ref-416bb292eb8bab5f0bb094a369921703663e5bb6.zip
Add yet more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8789 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monstuff.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 3298a480da..abaa57223b 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4311,9 +4311,9 @@ monsters *choose_random_monster_on_level(int weight,
{
monsters *chosen = NULL;
- // A radius_iterator with radius == max(GXM,GYM) will sweep the whole
- // level.
- radius_iterator ri(you.pos(), near_by ? 9 : std::max(GXM,GYM),
+ // A radius_iterator with radius == max(GXM, GYM) will sweep the
+ // whole level.
+ radius_iterator ri(you.pos(), near_by ? 9 : std::max(GXM, GYM),
true, in_sight);
for ( ; ri; ++ri )
@@ -7030,7 +7030,7 @@ static void _handle_monster_move(int i, monsters *monster)
continue;
}
- // Harpyes may eat food/corpses on the ground.
+ // Harpies may eat food/corpses on the ground.
if (monster->type == MONS_HARPY && !mons_is_fleeing(monster)
&& (mons_wont_attack(monster)
|| (monster->pos() - you.pos()).rdist() > 1)