summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mutation.cc2
-rw-r--r--crawl-ref/source/player.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 720aff591b..4616548f26 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1314,7 +1314,7 @@ formatted_string describe_mutations()
case SP_GHOUL:
result += "Your body is rotting away." EOL;
- result += mutation_name(MUT_CLAWS, -1, true);
+ result += mutation_name(MUT_CLAWS, you.has_claws(false));
result += EOL;
have_any = true;
break;
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index eb66a92e07..2f726ade12 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -7119,7 +7119,7 @@ int player::has_claws(bool allow_tran) const
{
// these transformations bring claws with them
if (attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON)
- return 3;
+ return (3);
// transformations other than these will override claws
if (attribute[ATTR_TRANSFORMATION] != TRAN_NONE