summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 18:30:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 18:30:17 +0000
commit05804ad1258eee4896d30e09f6e25e6c7f6477a9 (patch)
tree43fc36d5ac66d3bbcf94a67673af874822b65609 /crawl-ref/source/food.cc
parentfcd1dbe62a0550486d808419a855eb0c2c155e00 (diff)
downloadcrawl-ref-05804ad1258eee4896d30e09f6e25e6c7f6477a9.tar.gz
crawl-ref-05804ad1258eee4896d30e09f6e25e6c7f6477a9.zip
Really fix gourmand checks regarding potions of blood.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9158 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index f8d695f6c2..b564ebcaf2 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -2419,6 +2419,7 @@ bool is_inedible(const item_def &item)
return (false);
}
+
// As we want to avoid autocolouring the entire food selection, this should
// be restricted to the absolute highlights, even though other stuff may
// still be edible or even delicious.
@@ -2631,7 +2632,7 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg,
}
else
{
- _check_amu_the_gourmand(reqid);
+ _check_amu_the_gourmand(false);
return (true);
}
case POT_WATER: