From 179a048026b0dfea4fd95a2b71673e6a0694481c Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 23 Nov 2006 17:44:30 +0000 Subject: 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 --- crawl-ref/source/chardump.cc | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'crawl-ref/source/chardump.cc') 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() // ======================================================================== -- cgit v1.2.3-54-g00ecf