summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 18:30:25 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 18:30:25 +0000
commit8c58a5f6f1d5e3c7482153b5d188794108390ecb (patch)
tree20cb82177736a96ae2edb4af7e923b4d72f97722 /crawl-ref/source/food.cc
parent998211ec147b43ad5a3879d060dba48c876c3efc (diff)
downloadcrawl-ref-8c58a5f6f1d5e3c7482153b5d188794108390ecb.tar.gz
crawl-ref-8c58a5f6f1d5e3c7482153b5d188794108390ecb.zip
Overlay tiles in menu with tiles for being equipped/cursed/melded, the
flavoured floor, and weapon brands. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9477 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 13c0c3d4a7..6f9f464e0c 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -2407,7 +2407,8 @@ static int _player_likes_food_type(int type)
bool is_inedible(const item_def &item)
{
if (food_is_rotten(item)
- && !player_mutation_level(MUT_SAPROVOROUS))
+ && !player_mutation_level(MUT_SAPROVOROUS)
+ && !wearing_amulet(AMU_THE_GOURMAND))
{
return (true);
}