diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-20 16:23:26 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-20 16:23:26 +0000 |
commit | 7d7941c1963ba3678b239e9ed8f338b2beff1f5d (patch) | |
tree | af2556dbe525c7dc813d21ddc762a291f914f4fb /crawl-ref/source | |
parent | 48d9ab2d186ee9fc043e6a7410328df357eedacb (diff) | |
download | crawl-ref-7d7941c1963ba3678b239e9ed8f338b2beff1f5d.tar.gz crawl-ref-7d7941c1963ba3678b239e9ed8f338b2beff1f5d.zip |
Comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5152 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/ouch.cc | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index d6fe38358a..343db7a035 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2312,7 +2312,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 summon gtr. demons & undead -- they may be + // foe ratio for summoning gtr. demons & undead -- they may be // summoned, but they're hostile and would love nothing better // than to nuke the player and his minions if (pbolt.attitude == ATT_FRIENDLY && monster->attitude != ATT_FRIENDLY) @@ -3598,7 +3598,7 @@ static int _affect_player( bolt &beam, item_def *item ) { beam.fr_hurt++; - // Beam from player rebounded and hit player + // Beam from player rebounded and hit player. if (beam.beam_source == NON_MONSTER) xom_is_stimulated(255); // Xom's amusement at the player's being damaged is handled diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 2006887995..3abda679cb 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -754,7 +754,7 @@ static void xom_checks_damage(kill_method_type death_type, } else if (death_type == KILLED_BY_FALLING_DOWN_STAIRS) { - // Xom thinks falling down the stairs is hilarious + // Xom thinks falling down the stairs is hilarious. xom_is_stimulated(255); return; } @@ -773,7 +773,7 @@ static void xom_checks_damage(kill_method_type death_type, if (mons_attitude(monster) == ATT_FRIENDLY) { - // Xom thinks collateral damage is funny + // Xom thinks collateral damage is funny. xom_is_stimulated(255 * dam / (dam + you.hp)); return; } @@ -783,9 +783,9 @@ static void xom_checks_damage(kill_method_type death_type, if (leveldif == 0) leveldif = 1; - /* Note that Xom is amused when you are significantly hurt - * by a creature of higher level than yourself as well as - * by a creatured of lower level than yourself. */ + // Note that Xom is amused when you are significantly hurt by a + // creature of higher level than yourself, as well as by a creature + // of lower level than yourself. amusementvalue += leveldif * leveldif * dam; if (!player_monster_visible(monster)) |