diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-09 22:34:14 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-09 22:34:14 +0000 |
commit | 2f9171efc49235f06e2b49ecee51f0ca46867a19 (patch) | |
tree | 5575b95329258ef37a6431755bce5d56355e2d0a /crawl-ref/source | |
parent | 28ceef5fa32f62beca6fcaff73a255f75fc35739 (diff) | |
download | crawl-ref-2f9171efc49235f06e2b49ecee51f0ca46867a19.tar.gz crawl-ref-2f9171efc49235f06e2b49ecee51f0ca46867a19.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3561 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/religion.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index b0dc7fa36d..8052321cee 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3926,8 +3926,10 @@ harm_protection_type god_protects_from_harm(god_type god, bool actual) { case GOD_YREDELEMNUL: if (!actual || praying) - return (you.piety >= min_piety) ? HPT_PRAYING : - HPT_NONE; + { + if (you.piety >= min_piety) + return HPT_PRAYING; + } break; case GOD_BEOGH: if (!penance && (!actual || anytime)) |