summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 17:46:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 17:46:21 +0000
commit0300a6e6d633e6a93fb86c0aa3aeef5a25b5b56b (patch)
tree397d1fddb51a6b280583586742fe3a26628af40d /crawl-ref/source/food.cc
parentd01e42a27a637df67de0d32d2f9e21b708d27c79 (diff)
downloadcrawl-ref-0300a6e6d633e6a93fb86c0aa3aeef5a25b5b56b.tar.gz
crawl-ref-0300a6e6d633e6a93fb86c0aa3aeef5a25b5b56b.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9155 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index e1217e784e..f8d695f6c2 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -2530,8 +2530,9 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg,
if (what_isit == OBJ_CORPSES && kindof_thing == CORPSE_BODY)
return (true);
- if (what_isit == OBJ_POTIONS && (kindof_thing == POT_BLOOD
- || kindof_thing == POT_BLOOD_COAGULATED))
+ if (what_isit == OBJ_POTIONS
+ && (kindof_thing == POT_BLOOD
+ || kindof_thing == POT_BLOOD_COAGULATED))
{
return (true);
}
@@ -2543,7 +2544,6 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg,
}
bool ur_carnivorous = player_mutation_level(MUT_CARNIVOROUS) == 3;
-
bool ur_herbivorous = player_mutation_level(MUT_HERBIVOROUS) == 3;
// ur_chunkslover not defined in terms of ur_carnivorous because