summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index eab57f83ad..7899315366 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -2646,11 +2646,6 @@ static int _autopickup_subtype(const item_def &item)
case OBJ_POTIONS:
case OBJ_STAVES:
return item_type_known(item) ? item.sub_type : max_type;
- case OBJ_FOOD:
- return (item.sub_type == FOOD_CHUNK) ? item.sub_type
- : food_is_meaty(item) ? FOOD_MEAT_RATION
- : is_fruit(item) ? FOOD_FRUIT
- : FOOD_ROYAL_JELLY;
case OBJ_MISCELLANY:
return (item.sub_type == MISC_RUNE_OF_ZOT) ? item.sub_type : max_type;
case OBJ_BOOKS: