From de1e3653a03844e6c19246d9cc8f1bce3a4d98aa Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 24 Feb 2009 16:57:47 +0000 Subject: Simplify. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9194 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilereg.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'crawl-ref/source/tilereg.cc') diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 3a6ca80d8e..f370bd2dff 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -391,14 +391,8 @@ void DungeonRegion::pack_player(int x, int y) int item = you.equip[EQ_GLOVES]; if (item != -1) result.parts[TILEP_PART_ARM] = tilep_equ_gloves(you.inv[item]); - else if (player_mutation_level(MUT_CLAWS) >= 3 - || you.species == SP_TROLL || you.species == SP_GHOUL) - { - // There is player_has_claws() but it is not equivalent. - // Claws appear if they're big enough to not wear gloves - // or on races that have claws. + else if (you.has_claws(false) >= 3) result.parts[TILEP_PART_ARM] = TILEP_ARM_CLAWS; - } else result.parts[TILEP_PART_ARM] = 0; } -- cgit v1.2.3-54-g00ecf