summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-06-30 23:18:59 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-30 23:18:59 -0700
commitcafc426c7a5be4badb0d2744e39e7b9c41328e05 (patch)
tree604e85cda3fe5b0e411c3a686e7d00146ec72768 /crawl-ref/source/godprayer.cc
parentf986df79bd9dcfa329525d6a70331550d49422f3 (diff)
downloadcrawl-ref-cafc426c7a5be4badb0d2744e39e7b9c41328e05.tar.gz
crawl-ref-cafc426c7a5be4badb0d2744e39e7b9c41328e05.zip
Prayer tweaks
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r--crawl-ref/source/godprayer.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index 8ed120f234..e8e460e41b 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -382,7 +382,7 @@ static bool _altar_prayer()
*
* @return Whether anything happened that took time.
*/
-bool _altar_pray_or_convert()
+static bool _altar_pray_or_convert()
{
const god_type altar_god = feat_altar_god(grd(you.pos()));
if (altar_god == GOD_NO_GOD)
@@ -411,7 +411,7 @@ bool _altar_pray_or_convert()
/**
* Zazen.
*/
-void _zen_meditation()
+static void _zen_meditation()
{
const mon_holy_type holi = you.holiness();
mprf(MSGCH_PRAY,
@@ -419,6 +419,10 @@ void _zen_meditation()
holi == MH_NONLIVING ? "existence" : holi == MH_UNDEAD ? "unlife" : "life");
}
+/**
+ * Pray. (To your god, or the god of the altar you're at, or to Beogh, if
+ * you're an orc being preached at.)
+ */
void pray()
{
// only successful prayer takes time