summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc15
1 files changed, 3 insertions, 12 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index ab31941d55..3319e307ad 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -549,18 +549,9 @@ static void sdump_religion(const std::string &, std::string & text)
if (!player_under_penance())
{
- if (you.religion != GOD_XOM)
- { // Xom doesn't care
- text += god_name(you.religion);
- text += " is ";
- text += ((you.piety <= 5) ? "displeased" :
- (you.piety <= 20) ? "noncommittal" :
- (you.piety <= 40) ? "pleased with you" :
- (you.piety <= 70) ? "most pleased with you" :
- (you.piety <= 100) ? "greatly pleased with you" :
- (you.piety <= 130) ? "extremely pleased with you"
- : "exalted by your worship");
- text += ".";
+ if (you.religion != GOD_XOM) // Xom doesn't care
+ {
+ text += god_prayer_reaction();
text += "\n";
}
}