From d01e42a27a637df67de0d32d2f9e21b708d27c79 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 22 Feb 2009 17:44:18 +0000 Subject: Fix gourmand checks regarding potions of blood. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9154 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/food.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 736b5de852..e1217e784e 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -1504,7 +1504,7 @@ bool eat_from_inventory() // -2 for skip to inventory. int prompt_eat_chunks() { - // Herbivores cannot eat chunks. + // Full herbivores cannot eat chunks. if (player_mutation_level(MUT_HERBIVOROUS) == 3) return (0); @@ -2629,7 +2629,11 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg, mpr("Urks, you're a herbivore!"); return (false); } - return (true); + else + { + _check_amu_the_gourmand(reqid); + return (true); + } case POT_WATER: if (you.species == SP_VAMPIRE) { @@ -2652,7 +2656,6 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg, return (false); } default: - _check_amu_the_gourmand(reqid); return (true); } -- cgit v1.2.3-54-g00ecf