summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:04:24 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:04:24 +0000
commit83ec92a8d3169bb47259fc01968add8cf19d9dea (patch)
tree5663f30c8f6ab667152408920fb37bb5c4d404be /crawl-ref/source/mutation.cc
parentc8900f370bd9fa411032c36ed33679f0543f9e34 (diff)
downloadcrawl-ref-83ec92a8d3169bb47259fc01968add8cf19d9dea.tar.gz
crawl-ref-83ec92a8d3169bb47259fc01968add8cf19d9dea.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4477 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r--crawl-ref/source/mutation.cc13
1 files changed, 7 insertions, 6 deletions
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 += "</green>";
}
}
+
if (you.hunger_state <= HS_STARVING)
result += "<green>You do not heal.</green>" EOL;
else if (you.hunger_state <= HS_HUNGRY)
result += "<green>You heal slowly.</green>" EOL;
- else if (you.hunger_state >= HS_ENGORGED)
- result += "<green>Your natural rate of healing is extremely fast.</green>" EOL;
else if (you.hunger_state >= HS_FULL)
result += "<green>Your natural rate of healing is unusually fast.</green>" EOL;
+ else if (you.hunger_state == HS_ENGORGED)
+ result += "<green>Your natural rate of healing is extremely fast.</green>" 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