From 5b2076baa5e4c5095cd325a7afbbee9e8512ec2e Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 23 Apr 2008 05:03:50 +0000 Subject: Comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4509 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index a98a2ed5b5..bacc885041 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1696,13 +1696,15 @@ int player_energy() return pe; } -// If temp is set to false, temporary sources of resistance won't be counted. +// If temp is set to false, temporary sources of resistance won't be +// counted. int player_prot_life(bool calc_unid, bool temp) { int pl = 0; - // Hunger is temporary, true, but that's something you can control. - // (Especially as life protection only increases the hungrier you get.) + // Hunger is temporary, true, but that's something you can control, + // especially as life protection only increases the hungrier you + // get. if (you.species == SP_VAMPIRE) { switch (you.hunger_state) @@ -1723,8 +1725,8 @@ int player_prot_life(bool calc_unid, bool temp) } } - // same here: Your piety status is something you can more or less control. - // TSO's protection + // Same here. Your piety status, and, hence, TSO's protection, is + // something you can more or less control. if (you.religion == GOD_SHINING_ONE && you.piety > pl * 50) pl = you.piety / 50; @@ -1753,7 +1755,7 @@ int player_prot_life(bool calc_unid, bool temp) // rings pl += player_equip( EQ_RINGS, RING_LIFE_PROTECTION, calc_unid ); - // armour: (checks body armour only) + // armour (checks body armour only) pl += player_equip_ego_type( EQ_ALL_ARMOUR, SPARM_POSITIVE_ENERGY ); // randart wpns -- cgit v1.2.3-54-g00ecf