summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.h
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-06-29 03:27:35 +0100
committerPete Hurst <pete@streamuniverse.tv>2013-06-29 03:38:27 +0100
commitf0858a56f21e9df4c9e1c5122ec0686a77fa2819 (patch)
treecfbdc8442608fb1f4ee1f56ee917deb4a5b56af6 /crawl-ref/source/food.h
parent6b712aaa90b1b713ff82bc67dae5cd6d7c325874 (diff)
downloadcrawl-ref-f0858a56f21e9df4c9e1c5122ec0686a77fa2819.tar.gz
crawl-ref-f0858a56f21e9df4c9e1c5122ec0686a77fa2819.zip
Let the temporarily foodless still acquire food (Mantis #7283)
Adds an is_foodless_normally() call for other such uses.
Diffstat (limited to 'crawl-ref/source/food.h')
-rw-r--r--crawl-ref/source/food.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/food.h b/crawl-ref/source/food.h
index 28a6e67058..2d273e0274 100644
--- a/crawl-ref/source/food.h
+++ b/crawl-ref/source/food.h
@@ -69,6 +69,8 @@ void finished_eating_message(int food_type);
int you_max_hunger();
int you_min_hunger();
bool you_foodless(bool can_eat = false);
+// Is the player always foodless or just because of a temporary change?
+bool you_foodless_normally();
void handle_starvation();
string hunger_cost_string(const int hunger);