diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-05 15:11:05 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-05 15:11:05 +0000 |
commit | 4cee10a22cfe7c4456a821916820a6e2ae023ca0 (patch) | |
tree | 5413f9eb61cee13cf803cfd55509d2ee762715ca /crawl-ref/source/itemname.cc | |
parent | 9256d7e70da0ebf0577e084357bb3d255cb06ee3 (diff) | |
download | crawl-ref-4cee10a22cfe7c4456a821916820a6e2ae023ca0.tar.gz crawl-ref-4cee10a22cfe7c4456a821916820a6e2ae023ca0.zip |
Also mark the amulet of the gourmand as useless if we have the gourmand
mutation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10100 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 0ed17f6aaf..9d30e6f374 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -2564,6 +2564,7 @@ bool is_useless_item(const item_def &item, bool temp) case AMU_THE_GOURMAND: return ((player_mutation_level(MUT_HERBIVOROUS) == 3) + || player_mutation_level(MUT_GOURMAND) || you.species == SP_MUMMY); case RING_LIFE_PROTECTION: |