summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-28 08:14:16 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-28 08:14:16 -0500
commit56741fe543c9c407d9c9a8a6003bbd02092a525b (patch)
tree1ccf5e60878aef794994275bb2a01860f17895ca /crawl-ref/source/beam.cc
parentf12fc34b13e66b961c76fdf152a8ca88f4052bba (diff)
downloadcrawl-ref-56741fe543c9c407d9c9a8a6003bbd02092a525b.tar.gz
crawl-ref-56741fe543c9c407d9c9a8a6003bbd02092a525b.zip
Comment fixes.
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 7cf0d381d1..ff2c1ea606 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -1922,16 +1922,16 @@ void bolt::affect_cell(bool avoid_self)
const bool still_wall = (was_solid && old_pos == pos());
bool hit_player = false;
- // If the player can ever walk through walls, this will
- // need special-casing too.
+ // If the player can ever walk through walls, this will need
+ // special-casing too.
if (found_player() && !avoid_player)
{
affect_player();
hit_player = true;
}
- // We don't want to hit a monster in a wall square twice.
- // Also stop single target beams from affecting a monster if they already
+ // We don't want to hit a monster in a wall square twice. Also,
+ // stop single target beams from affecting a monster if they already
// affected the player on this square. -cao
if ((!hit_player || this->is_beam || this->is_explosion)
&& !still_wall && !avoid_monster)