summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 21:13:37 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 21:13:37 +0000
commit5dc22152dbd89ba7c809719785af00ea12dabe02 (patch)
tree7cd76c108c797caecb006a6bae821b663ac146c9 /crawl-ref/source/food.cc
parent42d8d07399655f768c9547ed3f47f39623856291 (diff)
downloadcrawl-ref-5dc22152dbd89ba7c809719785af00ea12dabe02.tar.gz
crawl-ref-5dc22152dbd89ba7c809719785af00ea12dabe02.zip
Add more gourmand-related fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9165 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index d3a86248e0..508bb6a6d7 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1508,8 +1508,9 @@ int prompt_eat_chunks()
if (player_mutation_level(MUT_HERBIVOROUS) == 3)
return (0);
- // If we *know* player doesn't have the gourmand effect, don't prompt.
- if (!player_likes_chunks())
+ // If we *know* player doesn't have the gourmand effect, don't
+ // prompt.
+ if (!player_likes_chunks(true) && !wearing_amulet(AMU_THE_GOURMAND, false))
return (0);
bool found_valid = false;