From 512f8e9eb3fa068d5601f7e5ed60d2d726d8f0ea Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 23 Feb 2009 17:52:55 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9177 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7855a5ae1b..5e37c0b06f 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1044,7 +1044,7 @@ int player_regen() rr += 100; // troll leather (except for trolls) - if (player_equip( EQ_BODY_ARMOUR, ARM_TROLL_LEATHER_ARMOUR ) + if (player_equip(EQ_BODY_ARMOUR, ARM_TROLL_LEATHER_ARMOUR) && you.species != SP_TROLL) { rr += 30; @@ -1106,9 +1106,9 @@ int player_regen() // Slow heal mutation. Applied last. // Each level reduces your natural heaing by one third. - if (you.mutation[MUT_SLOW_HEALING]) + if (player_mutation_level(MUT_SLOW_HEALING)) { - rr *= 3 - you.mutation[MUT_SLOW_HEALING]; + rr *= 3 - player_mutation_level(MUT_SLOW_HEALING); rr /= 3; } @@ -4093,7 +4093,7 @@ void display_char_status() { bool no_heal = (you.species == SP_VAMPIRE && you.hunger_state == HS_STARVING) - || (you.mutation[MUT_SLOW_HEALING] == 3); + || (player_mutation_level(MUT_SLOW_HEALING) == 3); if (!no_heal) _output_expiring_message(DUR_REGENERATION, "regenerating"); -- cgit v1.2.3-54-g00ecf