summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 23:48:56 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 23:48:56 +0000
commita6ac606f5217384d1b93d07926278e7a331de684 (patch)
treea96ef45154e190b8ee2672f39b754ddae8feb036 /crawl-ref/source/player.cc
parentdc0f86e29f22e2823c2a54dabee97d6dbfec073d (diff)
downloadcrawl-ref-a6ac606f5217384d1b93d07926278e7a331de684.tar.gz
crawl-ref-a6ac606f5217384d1b93d07926278e7a331de684.zip
Add miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9224 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 29f729f580..409869af51 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -7107,15 +7107,15 @@ int player::has_claws(bool allow_tran) const
&& attribute[ATTR_TRANSFORMATION] != TRAN_STATUE
&& attribute[ATTR_TRANSFORMATION] != TRAN_LICH)
{
- return 0;
+ return (0);
}
}
// these are the only other sources for claws
if (species == SP_TROLL || species == SP_GHOUL)
- return 3;
+ return (3);
- return player_mutation_level(MUT_CLAWS);
+ return (player_mutation_level(MUT_CLAWS));
}
bool player::has_usable_claws(bool allow_tran) const