diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 18:15:07 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 18:15:07 +0000 |
commit | cefd272db601a50d2aef098e512d53376f1c160f (patch) | |
tree | 382035472dbaec1a0d1a5b83cebe57bf78d780f7 | |
parent | 05149b7ee42fd29cb6dba368dd08dc0a262c19b6 (diff) | |
download | crawl-ref-cefd272db601a50d2aef098e512d53376f1c160f.tar.gz crawl-ref-cefd272db601a50d2aef098e512d53376f1c160f.zip |
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5037 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/beam.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 9b5c675b89..6e94934bcc 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2336,11 +2336,9 @@ bool check_line_of_sight( int sx, int sy, int tx, int ty ) return find_ray( sx, sy, tx, ty, false, ray ); } -/* - When a mimic is hit by a ranged attack, it teleports away (the slow way) - and changes its appearance - the appearance change is in monster_teleport - in mstuff2. - */ +// When a mimic is hit by a ranged attack, it teleports away (the slow +// way) and changes its appearance - the appearance change is in +// monster_teleport() in mstuff2.cc. void mimic_alert(monsters *mimic) { bool should_id = !testbits(mimic->flags, MF_KNOWN_MIMIC) @@ -2384,7 +2382,7 @@ static void _beam_explodes(bolt &beam, int x, int y) { cloud_type cl_type; - // this will be the last thing this beam does.. set target_x + // This will be the last thing this beam does. Set target_x // and target_y to hold explosion co'ords. beam.target_x = x; @@ -2459,7 +2457,7 @@ static void _beam_explodes(bolt &beam, int x, int y) // cloud producer -- FOUL VAPOR (SWAMP DRAKE?) if (beam.name == "foul vapour") { - cl_type = beam.flavour == BEAM_MIASMA? CLOUD_MIASMA : CLOUD_STINK; + cl_type = beam.flavour == BEAM_MIASMA ? CLOUD_MIASMA : CLOUD_STINK; big_cloud( cl_type, _whose_kill(beam), x, y, 0, 9 ); return; } |