From 17a3b5eb02e70eac94e89f65ca047385a35e99c2 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 12 Jul 2009 18:25:06 +0000 Subject: Really fix the display of ghouls' claws on the "A" screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10195 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mutation.cc | 2 +- crawl-ref/source/player.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref') 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 -- cgit v1.2.3-54-g00ecf