summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-09 22:41:16 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-09 22:41:16 +0000
commit7e97ac39a73fae6bf2c7a8f1247b2a698020dcb3 (patch)
tree668857260b8daece8e7d8bdc63daa68026dad01f /crawl-ref/source/religion.cc
parent9a3546dd1876ad7ebd4f503fe74d6b502eb41c7f (diff)
downloadcrawl-ref-7e97ac39a73fae6bf2c7a8f1247b2a698020dcb3.tar.gz
crawl-ref-7e97ac39a73fae6bf2c7a8f1247b2a698020dcb3.zip
Add one more cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3563 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 440244a305..0fba6820a1 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -3965,8 +3965,10 @@ harm_protection_type god_protects_from_harm(god_type god, bool actual)
break;
case GOD_ELYVILON:
if (!actual || praying || anytime)
+ {
return (you.piety >= min_piety) ? HPT_PRAYING_PLUS_ANYTIME :
HPT_ANYTIME;
+ }
break;
default:
break;