From 83ec92a8d3169bb47259fc01968add8cf19d9dea Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 22 Apr 2008 19:04:24 +0000 Subject: Add minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4477 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mutation.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/mutation.cc') diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 3fb3576c78..2ae11a51dc 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -1240,14 +1240,15 @@ formatted_string describe_mutations() result += ""; } } + if (you.hunger_state <= HS_STARVING) result += "You do not heal." EOL; else if (you.hunger_state <= HS_HUNGRY) result += "You heal slowly." EOL; - else if (you.hunger_state >= HS_ENGORGED) - result += "Your natural rate of healing is extremely fast." EOL; else if (you.hunger_state >= HS_FULL) result += "Your natural rate of healing is unusually fast." EOL; + else if (you.hunger_state == HS_ENGORGED) + result += "Your natural rate of healing is extremely fast." EOL; have_any = true; break; @@ -1687,14 +1688,14 @@ bool mutate(mutation_type which_mutation, bool failMsg, bool force_mutation, bool rotting = you.is_undead; if (you.species == SP_VAMPIRE) { - // The stat gain mutation always come through at Satiated or higher - // (mostly for convenience), and for consistency also their - // negative counterparts. + // The stat gain mutation always come through at Satiated or + // higher (mostly for convenience), and, for consistency, also + // their negative counterparts. if (which_mutation == MUT_STRONG || which_mutation == MUT_CLEVER || which_mutation == MUT_AGILE || which_mutation == MUT_WEAK || which_mutation == MUT_DOPEY || which_mutation == MUT_CLUMSY) { - if (you.hunger_state >= HS_FULL) + if (you.hunger_state > HS_SATIATED) rotting = false; } else -- cgit v1.2.3-54-g00ecf