diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-23 17:52:55 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-23 17:52:55 +0000 |
commit | 512f8e9eb3fa068d5601f7e5ed60d2d726d8f0ea (patch) | |
tree | e6366ce12d2f431bb2d61307b48b0169bebfa4a7 /crawl-ref/source/itemname.cc | |
parent | 54f56857a3c728c64847aa3a5f9704bdf967ac39 (diff) | |
download | crawl-ref-512f8e9eb3fa068d5601f7e5ed60d2d726d8f0ea.tar.gz crawl-ref-512f8e9eb3fa068d5601f7e5ed60d2d726d8f0ea.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9177 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 7b32d44b99..cb6425a922 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -2579,7 +2579,7 @@ bool is_useless_item(const item_def &item, bool temp) && you.hunger_state == HS_STARVING); case RING_REGENERATION: - return ((you.mutation[MUT_SLOW_HEALING] == 3) + return ((player_mutation_level(MUT_SLOW_HEALING) == 3) || temp && you.species == SP_VAMPIRE && you.hunger_state == HS_STARVING); @@ -2626,7 +2626,7 @@ bool is_useless_item(const item_def &item, bool temp) if (you.has_spell(SPELL_BONE_SHARDS) || you.has_spell(SPELL_ANIMATE_DEAD) || you.has_spell(SPELL_ANIMATE_SKELETON) - || you.mutation[MUT_RAISE_DEAD] + || player_mutation_level(MUT_RAISE_DEAD) || you.religion == GOD_YREDELEMNUL && you.piety >= piety_breakpoint(0)) { |