summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 78d648f4ad..613f7e6d27 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -490,7 +490,7 @@ void cast_twisted(int power, beh_type corps_beh, int corps_hit)
total_mass += mons_weight( mitm[objl].plus );
num_corpses++;
- if (mitm[objl].special < 100)
+ if (food_is_rotten(mitm[objl]))
rotted++;
destroy_item( objl );