summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 20:11:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-07 20:11:59 +0000
commitc0be5104be442e01833aa2d407233be2dbeb1235 (patch)
tree66ea81118d47f41909a5338fab167cb54caec2ed /crawl-ref/source/religion.cc
parente426b1b518bd6fded95d320aa188ed564861877f (diff)
downloadcrawl-ref-c0be5104be442e01833aa2d407233be2dbeb1235.tar.gz
crawl-ref-c0be5104be442e01833aa2d407233be2dbeb1235.zip
For consistency, make Zin ignore your non-altar prayers if you don't
have enough piety to get his divine sustenance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7178 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 6c6cc5978c..6470269185 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2012,6 +2012,9 @@ static bool _god_accepts_prayer(god_type type)
{
switch(type)
{
+ case GOD_ZIN:
+ return (zin_sustenance(false));
+
case GOD_YREDELEMNUL:
return (yred_injury_mirror(false));