summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-04-28 20:59:32 +0100
committerChris Campbell <chriscampbell89@gmail.com>2012-04-28 21:01:23 +0100
commit8bf75c2071d40c67b90bcf7417812ec5198945c7 (patch)
tree5cd074fdeccbf4084324be33d378154a28a710c0 /crawl-ref/source/food.h
parente38a76718df15fe5e5bc4c2242c39d414585a8a0 (diff)
downloadcrawl-ref-8bf75c2071d40c67b90bcf7417812ec5198945c7.tar.gz
crawl-ref-8bf75c2071d40c67b90bcf7417812ec5198945c7.zip
Display spell hunger as a spellpower-style bar instead of as food types
The food type actually meant "casting this spell fives times costs at most one <foodtype>" which was very unintuitive, and food types also change in value depending on herbivore/carnivore mutations.
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 e3803301b7..d4d870e2f4 100644
--- a/crawl-ref/source/food.h
+++ b/crawl-ref/source/food.h
@@ -61,7 +61,7 @@ int you_max_hunger();
int you_min_hunger();
void handle_starvation();
-const char* hunger_cost_string(const int hunger);
+std::string hunger_cost_string(const int hunger);
void end_nausea();
maybe_bool drop_spoiled_chunks(int weight_needed, bool whole_slot = false);