summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 02:14:09 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 02:14:09 +0000
commita847b70b8aa4b8ff99fd946db0069b6c52285243 (patch)
treede53a4007efed06cf257f27f9d2240e5574a4bb2 /crawl-ref/source/itemname.cc
parent3df5cc18005210e4ddd5f603d5632f0c956f4fa6 (diff)
downloadcrawl-ref-a847b70b8aa4b8ff99fd946db0069b6c52285243.tar.gz
crawl-ref-a847b70b8aa4b8ff99fd946db0069b6c52285243.zip
Improve the redundancy check for the amulet of the gourmand.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10263 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 98ec4bc9ed..c5da1c9cdf 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -2601,8 +2601,8 @@ bool is_useless_item(const item_def &item, bool temp)
|| you.religion == GOD_TROG);
case AMU_THE_GOURMAND:
- return ((player_mutation_level(MUT_HERBIVOROUS) == 3)
- || player_mutation_level(MUT_GOURMAND)
+ return (player_likes_chunks(true)
+ || (player_mutation_level(MUT_HERBIVOROUS) == 3)
|| you.species == SP_MUMMY);
case RING_LIFE_PROTECTION: