summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-reacts.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-03 02:04:08 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-03 02:04:08 -0400
commit1fa230282dea31d88e15a3af66aca0a27dda2271 (patch)
tree715e05528c3aaf87d7d721a7a275aed7c5707d2a /crawl-ref/source/player-reacts.cc
parent51bfb8de72b7fe848c31fa6ce10e2c94b959eb64 (diff)
downloadcrawl-ref-1fa230282dea31d88e15a3af66aca0a27dda2271.tar.gz
crawl-ref-1fa230282dea31d88e15a3af66aca0a27dda2271.zip
Rewrap a comment to 80 char
Diffstat (limited to 'crawl-ref/source/player-reacts.cc')
-rw-r--r--crawl-ref/source/player-reacts.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/crawl-ref/source/player-reacts.cc b/crawl-ref/source/player-reacts.cc
index 982a45ee21..4e400a4fbb 100644
--- a/crawl-ref/source/player-reacts.cc
+++ b/crawl-ref/source/player-reacts.cc
@@ -1186,11 +1186,13 @@ static void _check_equipment_conducts()
}
-// cjo: Handles player hp and mp regeneration. If the counter you.hit_points_regeneration
-// is over 100, a loop restores 1 hp and decreases the counter by 100 (so you can regen
-// more than 1 hp per turn). If the counter is below 100, it is increased by a variable
-// calculated from delay, BASELINE_DELAY, and your regeneration rate. MP regeneration happens
-// similarly, but the countup depends on delay, BASELINE_DELAY, and you.max_magic_points
+// cjo: Handles player hp and mp regeneration. If the counter
+// you.hit_points_regeneration is over 100, a loop restores 1 hp and decreases
+// the counter by 100 (so you can regen more than 1 hp per turn). If the counter
+// is below 100, it is increased by a variable calculated from delay,
+// BASELINE_DELAY, and your regeneration rate. MP regeneration happens
+// similarly, but the countup depends on delay, BASELINE_DELAY, and
+// you.max_magic_points
static void _regenerate_hp_and_mp(int delay)
{
if (crawl_state.disables[DIS_PLAYER_REGEN])