summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 31c979aa22..f3f65cdea3 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -160,7 +160,7 @@ const int InvEntry::item_freshness() const
int freshness = item->special;
- if (freshness >= 100 || you.mutation[MUT_SAPROVOROUS])
+ if (freshness >= 100 || player_mutation_level(MUT_SAPROVOROUS))
freshness -= 300;
// Ensure that chunk freshness is never zero, since zero means