From 7e97ac39a73fae6bf2c7a8f1247b2a698020dcb3 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 9 Mar 2008 22:41:16 +0000 Subject: Add one more cosmetic fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3563 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source') 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; -- cgit v1.2.3-54-g00ecf