summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-02-22 11:30:00 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-02-22 11:30:00 +0100
commit253ec0838fe8126e3953c09efddf5ef530f9d41f (patch)
treef8459df4051bf58f3ee57e4c8a7a83a9fabdb61f /crawl-ref/source/religion.h
parentf8be5ed5a1b0515f5a4256466dcb00b8a9ffab78 (diff)
downloadcrawl-ref-253ec0838fe8126e3953c09efddf5ef530f9d41f.tar.gz
crawl-ref-253ec0838fe8126e3953c09efddf5ef530f9d41f.zip
Fix infinite Zin feeding.
With slow enough metabolism (spriggan, ring of sustenance, or slowmeta 3), passive piety for waiting rose faster than the cost of feeding. In the past, this was countered by gift_timeout, but it was left out by a mistake.
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 174a59872e..23aead7c7a 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -108,6 +108,7 @@ int get_tension(god_type god = you.religion);
int get_monster_tension(const monster* mons, god_type god = you.religion);
bool do_god_gift(bool forced = false);
+bool do_zin_sustenance();
std::vector<god_type> temple_god_list();
std::vector<god_type> nontemple_god_list();