[Hide Content]From dbb79601e8eac22660a1fc9ccc93a904f0f6d623 Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Fri, 24 Jan 2014 14:52:31 +0100
Subject: Check for harmful monsters or clouds before easy-eating (wheals)
Now prompt in those cases even if `easy_eat = true`.
---
crawl-ref/source/food.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index ae1f253..72043b1 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1485,7 +1485,7 @@ int prompt_eat_chunks(bool only_auto)
const bool bad = is_bad_food(*item);
- if (easy_eat && !bad)
+ if (easy_eat && !bad && i_feel_safe())
{
// If this chunk is safe to eat, just do so without prompting.
autoeat = true;
--
1.8.5.3