summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-02 14:50:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-02 14:50:59 +0000
commit8a065628d4cb0bee52a4c49acf7f689a965cf254 (patch)
tree5944ba152ff3e90b368aae66d02c96be559a58ce /crawl-ref/source/player.cc
parent2f502ad2e18856b2207756b98d2b54fc6e5764b3 (diff)
downloadcrawl-ref-8a065628d4cb0bee52a4c49acf7f689a965cf254.tar.gz
crawl-ref-8a065628d4cb0bee52a4c49acf7f689a965cf254.zip
Properly indicate claws in your_hand().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6751 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 668adb2e5a..b19996612c 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6584,8 +6584,8 @@ int player::has_claws(bool allow_tran) const
// these are the only other sources for claws
if (species == SP_TROLL || species == SP_GHOUL)
return 3;
- else
- return mutation[MUT_CLAWS];
+
+ return player_mutation_level(MUT_CLAWS);
}
bool player::has_usable_claws(bool allow_tran) const