summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index b9742dec0a..3242e19a1f 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4513,7 +4513,7 @@ void tile_use_item(int idx, InvAction act)
case OBJ_CORPSES:
if (you.species != SP_VAMPIRE
|| you.inv[idx].sub_type == CORPSE_SKELETON
- || you.inv[idx].special < 100)
+ || food_is_rotten(you.inv[idx]))
{
break;
}