summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-03-11 21:53:06 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-03-11 21:53:06 -0400
commite1215c86b0e34c506d8775575b1ec7b8a4aeb5f3 (patch)
tree86d06ea272a6e09ede001c149880c9d5fd94736e /crawl-ref/source/godprayer.cc
parent31b1323368fba28c97699094f32e2377e29720d4 (diff)
downloadcrawl-ref-e1215c86b0e34c506d8775575b1ec7b8a4aeb5f3.tar.gz
crawl-ref-e1215c86b0e34c506d8775575b1ec7b8a4aeb5f3.zip
Allow prayer while silenced (and into).
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r--crawl-ref/source/godprayer.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index 5eb8ded49e..98f351c4eb 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -286,12 +286,6 @@ static bool _altar_prayer()
void pray()
{
- if (you.cannot_speak())
- {
- mpr("You are unable to make a sound!");
- return;
- }
-
// only successful prayer takes time
you.turn_is_over = false;
@@ -330,7 +324,8 @@ void pray()
}
if (!something_happened) // If something happened, there already was a prayer
- mprf(MSGCH_PRAY, "You offer a prayer to %s.",
+ mprf(MSGCH_PRAY, "You offer a %sprayer to %s.",
+ you.cannot_speak() ? "silent " : "",
god_name(you.religion).c_str());
if (you_worship(GOD_FEDHAS) && fedhas_fungal_bloom())