summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index aa654a761d..3c838b71c8 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1508,10 +1508,13 @@ 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(true) && !wearing_amulet(AMU_THE_GOURMAND, false))
+ // If we *know* player doesn't have the gourmand effect and isn't
+ // hungry, don't prompt.
+ if (!player_likes_chunks(true) && !wearing_amulet(AMU_THE_GOURMAND, false)
+ && you.hunger_state >= HS_SATIATED)
+ {
return (0);
+ }
bool found_valid = false;
std::vector<item_def *> chunks;