summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 064880c298..6d9d551378 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -2622,13 +2622,8 @@ static const std::string _item_prefix(const item_def &item, bool temp,
}
// intentional fall-through
case OBJ_FOOD:
- if ((item.base_type == OBJ_CORPSES || item.sub_type == FOOD_CHUNK)
- && (is_good_god(you.religion) && is_player_same_species(item.plus)
- || you.religion == GOD_ZIN
- && mons_class_intel(item.plus) >= I_NORMAL))
- {
+ if (is_forbidden_food(item))
prefixes.push_back("evil_eating");
- }
if (is_inedible(item))
prefixes.push_back("inedible");