summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-23 17:44:30 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-23 17:44:30 +0000
commit179a048026b0dfea4fd95a2b71673e6a0694481c (patch)
tree30b6199859afa2e5e18c0084be8db7afb3437099 /crawl-ref/source/chardump.cc
parentaef49cb2fba2d6707c1d2d591ffbe3f35cd6e939 (diff)
downloadcrawl-ref-179a048026b0dfea4fd95a2b71673e6a0694481c.tar.gz
crawl-ref-179a048026b0dfea4fd95a2b71673e6a0694481c.zip
Fixed 1594106: innate abilities were not being dumped.
Note that this will cause a bug if you have more than 23 mutations simultaneously; fixing that will require patching formatted_string. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@485 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc18
1 files changed, 2 insertions, 16 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 4bb87f04e5..e8b028f0c3 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -980,24 +980,10 @@ static void sdump_mutations(const std::string &, std::string & text)
if (xz > 0)
{
- text += "";
text += "\n";
- text += " Mutations & Other Weirdness";
- text += "\n";
-
- for (int j = 0; j < 100; j++)
- {
- if (you.mutation[j])
- {
- if (you.demon_pow[j] > 0)
- text += "* ";
-
- text += mutation_name(j);
- text += "\n";
- }
- }
+ text += describe_mutations();
+ text += "\n\n";
}
- text += "\n\n";
} // end dump_mutations()
// ========================================================================