diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2012-04-28 20:59:32 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2012-04-28 21:01:23 +0100 |
commit | 8bf75c2071d40c67b90bcf7417812ec5198945c7 (patch) | |
tree | 5cd074fdeccbf4084324be33d378154a28a710c0 /crawl-ref/source/spl-cast.h | |
parent | e38a76718df15fe5e5bc4c2242c39d414585a8a0 (diff) | |
download | crawl-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/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 40e3b8c6a5..2bf2d545f5 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -79,7 +79,7 @@ char* failure_rate_to_string(int fail); std::string spell_power_string(spell_type spell, bool rod = false); std::string spell_range_string(spell_type spell, bool rod = false); std::string spell_schools_string(spell_type spell); -const char* spell_hunger_string(spell_type spell, bool rod = false); +std::string spell_hunger_string(spell_type spell, bool rod = false); std::string spell_noise_string(spell_type spell); bool is_prevented_teleport(spell_type spell); |