summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 06:20:50 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 06:20:50 +0000
commit0830a9b5ce8c06ad8e528793c6a6bd72b8c31da6 (patch)
tree070571985ec69932c116fccba5389818beda8c1a /crawl-ref/source/food.cc
parentd549ba06dbaa322509b780e53a3ccb5925588b0f (diff)
downloadcrawl-ref-0830a9b5ce8c06ad8e528793c6a6bd72b8c31da6.tar.gz
crawl-ref-0830a9b5ce8c06ad8e528793c6a6bd72b8c31da6.zip
Always prompt when trying to drain a corpse as a vampire.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9210 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 3c838b71c8..adaffcb250 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1508,9 +1508,10 @@ int prompt_eat_chunks()
if (player_mutation_level(MUT_HERBIVOROUS) == 3)
return (0);
- // If we *know* player doesn't have the gourmand effect and isn't
- // hungry, don't prompt.
- if (!player_likes_chunks(true) && !wearing_amulet(AMU_THE_GOURMAND, false)
+ // If we *know* the player can eat chunks, doesn't have the gourmand
+ // effect and isn't hungry, don't prompt for chunks.
+ if (you.species != SP_VAMPIRE && !player_likes_chunks(true)
+ && !wearing_amulet(AMU_THE_GOURMAND, false)
&& you.hunger_state >= HS_SATIATED)
{
return (0);