From 14f96d4f59e4c91915bb15d2f4ca845e6e2e459e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 12 Jun 2008 09:03:37 +0000 Subject: 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 --- crawl-ref/source/beam.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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); -- cgit v1.2.3-54-g00ecf