summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-12 17:35:45 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-12 17:35:45 +0000
commit2ad1fa9b0f50c91442995b715d0261138be1f167 (patch)
treea89abd6f1425af85e26d2a8f00c67fbd44360cf7 /crawl-ref/source/food.cc
parent84f487691c1387775ce6195c0bd89e327a19828c (diff)
downloadcrawl-ref-2ad1fa9b0f50c91442995b715d0261138be1f167.tar.gz
crawl-ref-2ad1fa9b0f50c91442995b715d0261138be1f167.zip
Various documentation tweaks. Among others, replace all references to
"class" with "job", and "race" with "species" because that comes much closer to what they actually are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9425 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 854359715d..13c0c3d4a7 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1593,8 +1593,10 @@ int prompt_eat_chunks()
// and may have unintended consequences.
// * Ghouls may want to wait until chunks become rotten.
if (easy_eat && !bad && !contam)
+ {
// If this chunk is safe to eat, just do so without prompting.
autoeat = true;
+ }
else if (easy_contam && contam && !bad)
autoeat = true;
else