From 6de62154a08ad2e5da61694823aaff9ec033ed26 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 31 May 2008 02:52:03 +0000 Subject: Don't display Xom piety information in character dumps. It's already hidden elsewhere (e.g. in the "%" screen), and he doesn't use piety the same way as other gods do anyway. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5353 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/chardump.cc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/chardump.cc') diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 122d9f09d6..1f79d6c513 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -608,16 +608,20 @@ static void sdump_religion(dump_params &par) text += god_name(you.religion); text += ".\n"; - std::string verb = par.se? "was" : "is"; - if (!player_under_penance()) + if (you.religion != GOD_XOM) { - text += god_prayer_reaction(); - text += "\n"; - } - else - { - text += god_name(you.religion); - text += " " + verb + " demanding penance.\n"; + if (!player_under_penance()) + { + text += god_prayer_reaction(); + text += "\n"; + } + else + { + std::string verb = par.se ? "was" : "is"; + + text += god_name(you.religion); + text += " " + verb + " demanding penance.\n"; + } } } } -- cgit v1.2.3-54-g00ecf