summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.h
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-08-08 21:54:50 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-08-08 21:54:50 -0700
commit85ed4e7cdc439749e74d0a98c139978e751184d9 (patch)
tree99a2808ec768dd4eddc837e957d77aebb5a1ae96 /crawl-ref/source/food.h
parentc20932bd5d504237d21324df6ad14eb1dece7ef8 (diff)
downloadcrawl-ref-85ed4e7cdc439749e74d0a98c139978e751184d9.tar.gz
crawl-ref-85ed4e7cdc439749e74d0a98c139978e751184d9.zip
Don't give --more-- prompts for trying to eat (8849)
...when there's a chunk on the floor, but you aren't hungry enough to eat it. (This was erroneously introduced by 2a0806f3.)
Diffstat (limited to 'crawl-ref/source/food.h')
-rw-r--r--crawl-ref/source/food.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/food.h b/crawl-ref/source/food.h
index 76c08bb69d..ece9154316 100644
--- a/crawl-ref/source/food.h
+++ b/crawl-ref/source/food.h
@@ -50,7 +50,7 @@ bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg,
bool chunk_is_poisonous(int chunktype);
bool eat_item(item_def &food);
-int eat_from_floor();
+int eat_from_floor(bool skip_chunks = true);
bool eat_from_inventory();
int prompt_eat_chunks(bool only_auto = false);