summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/wiz-item.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/wiz-item.cc b/crawl-ref/source/wiz-item.cc
index 843535e374..c66bc4a2f3 100644
--- a/crawl-ref/source/wiz-item.cc
+++ b/crawl-ref/source/wiz-item.cc
@@ -952,10 +952,14 @@ static void _debug_acquirement_stats(FILE *ostat)
: "buggy items");
// Print player species/profession.
- fprintf(ostat, "%s the %s (%s %s)\n\n",
+ std::string godname = "";
+ if (you.religion != GOD_NO_GOD)
+ godname += " of " + god_name(you.religion);
+
+ fprintf(ostat, "%s the %s, %s %s%s\n\n",
you.your_name.c_str(), player_title().c_str(),
species_name(you.species, you.experience_level).c_str(),
- you.class_name);
+ you.class_name, godname.c_str());
// Print player equipment.
const int e_order[] =
@@ -1036,7 +1040,7 @@ static void _debug_acquirement_stats(FILE *ostat)
if (disc & SPTYP_DIVINATION)
continue;
- fprintf(ostat, "%-13s: %d/%d spells unseen\n",
+ fprintf(ostat, "%-13s: %2d/%2d spells unseen\n",
spelltype_long_name(disc),
unseen_spells[d], total_spells[d]);
}