summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 18:58:10 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 18:58:10 +0000
commit6aabd413b54974e3c839762af2c076d09e38fce2 (patch)
tree67d44343eaa7aa79db474e7f51efb944a990e84e /crawl-ref/source/food.cc
parent05804ad1258eee4896d30e09f6e25e6c7f6477a9 (diff)
downloadcrawl-ref-6aabd413b54974e3c839762af2c076d09e38fce2.tar.gz
crawl-ref-6aabd413b54974e3c839762af2c076d09e38fce2.zip
And fix them for vampires, too.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9159 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index b564ebcaf2..b5f369e551 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -2630,11 +2630,8 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg,
mpr("Urks, you're a herbivore!");
return (false);
}
- else
- {
- _check_amu_the_gourmand(false);
- return (true);
- }
+ _check_amu_the_gourmand(you.species == SP_VAMPIRE);
+ return (true);
case POT_WATER:
if (you.species == SP_VAMPIRE)
{