summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 02:52:03 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 02:52:03 +0000
commit6de62154a08ad2e5da61694823aaff9ec033ed26 (patch)
tree19470ef97fcd94209bc4296472fa599bc427300a /crawl-ref/source/chardump.cc
parent336384033b1bfd1a7dab2df82b185481314051b7 (diff)
downloadcrawl-ref-6de62154a08ad2e5da61694823aaff9ec033ed26.tar.gz
crawl-ref-6de62154a08ad2e5da61694823aaff9ec033ed26.zip
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
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc22
1 files changed, 13 insertions, 9 deletions
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";
+ }
}
}
}