summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 09:03:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 09:03:37 +0000
commit14f96d4f59e4c91915bb15d2f4ca845e6e2e459e (patch)
tree0d4e442574394649b916aaecef060cda9a6c4282 /crawl-ref/source/beam.cc
parent42d4567bed5358f70d8205f17f65c380e6ad65f7 (diff)
downloadcrawl-ref-14f96d4f59e4c91915bb15d2f4ca845e6e2e459e.tar.gz
crawl-ref-14f96d4f59e4c91915bb15d2f4ca845e6e2e459e.zip
Remove unneeded methods (including the old resistance screen), rename
debugging functions, and some other clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5757 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index 78b0e01d71..fa521d8d17 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -2766,7 +2766,7 @@ void fire_tracer(const monsters *monster, bolt &pbolt)
pbolt.foe_helped = pbolt.foe_hurt = 0;
pbolt.foe_ratio = 80; // default - see mons_should_fire()
- // Foe ratio for summoning gtr. demons & undead -- they may be
+ // Foe ratio for summoning greater demons & undead -- they may be
// summoned, but they're hostile and would love nothing better
// than to nuke the player and his minions.
if (mons_att_wont_attack(pbolt.attitude)
@@ -2775,22 +2775,22 @@ void fire_tracer(const monsters *monster, bolt &pbolt)
pbolt.foe_ratio = 25;
}
- // fire!
+ // Fire!
fire_beam(pbolt);
// Unset tracer flag (convenience).
pbolt.is_tracer = false;
-} // end tracer_f()
+}
bool check_line_of_sight( int sx, int sy, int tx, int ty )
{
const int dist = grid_distance( sx, sy, tx, ty );
- // can always see one square away
+ // Can always see one square away.
if (dist <= 1)
return (true);
- // currently we limit the range to 8
+ // Currently we limit the range to 8.
if (dist > MONSTER_LOS_RANGE)
return (false);