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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 854359715d..13c0c3d4a7 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1593,8 +1593,10 @@ int prompt_eat_chunks()
// and may have unintended consequences.
// * Ghouls may want to wait until chunks become rotten.
if (easy_eat && !bad && !contam)
+ {
// If this chunk is safe to eat, just do so without prompting.
autoeat = true;
+ }
else if (easy_contam && contam && !bad)
autoeat = true;
else