summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-21 13:05:22 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-21 13:05:22 +0000
commita5f6b9ec2ffcbdebca189f4fed30b8f1e24727dc (patch)
treef05d20dcc0cf67a7f53b8fdaca9603f477b94db3 /crawl-ref/source/invent.cc
parent1f86ecd606f4f764b6ea347c64657ae1426668fe (diff)
downloadcrawl-ref-a5f6b9ec2ffcbdebca189f4fed30b8f1e24727dc.tar.gz
crawl-ref-a5f6b9ec2ffcbdebca189f4fed30b8f1e24727dc.zip
[1800206] Ghoul food cleanup (dolorous).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2504 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index 7d539a1fac..bc48e94588 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -156,13 +156,9 @@ const int InvEntry::item_freshness() const
return 0;
int freshness = item->special;
-
- if (freshness >= 100 || you.species == SP_TROLL || you.species == SP_KOBOLD
- || you.species == SP_GHOUL || you.species == SP_OGRE
- || you.species == SP_HILL_ORC)
- {
+
+ if (freshness >= 100 || you.mutation[MUT_SAPROVOROUS])
freshness -= 300;
- }
// Ensure that chunk freshness is never zero, since zero means
// that the item isn't a chunk.