diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 20:11:59 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 20:11:59 +0000 |
commit | c0be5104be442e01833aa2d407233be2dbeb1235 (patch) | |
tree | 66ea81118d47f41909a5338fab167cb54caec2ed /crawl-ref/source/religion.cc | |
parent | e426b1b518bd6fded95d320aa188ed564861877f (diff) | |
download | crawl-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.cc | 3 |
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)); |