summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-15 17:36:46 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-16 00:37:56 +0100
commit381bd5c28bb04dacd4fe2f7e8c51a0bdebbdcc8a (patch)
tree184549093055839a8e89a855d4f221ba715936b8 /crawl-ref/source/chardump.cc
parent4ae94589a31f96d5676242a643b9972671436feb (diff)
downloadcrawl-ref-381bd5c28bb04dacd4fe2f7e8c51a0bdebbdcc8a.tar.gz
crawl-ref-381bd5c28bb04dacd4fe2f7e8c51a0bdebbdcc8a.zip
Print the overview screen and skills in the acquirement statistics output.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc20
1 files changed, 2 insertions, 18 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 493fdcbf80..f71d4d3b15 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -911,26 +911,10 @@ static void _sdump_skills(dump_params &par)
text += " Skills:";
text += "\n";
- for (unsigned char i = 0; i < 50; i++)
- {
- if (you.skills[i] > 0)
- {
- text += ( (you.skills[i] == 27) ? " * " :
- (you.practise_skill[i]) ? " + "
- : " - " );
-
- text += "Level ";
- itoa( you.skills[i], tmp_quant, 10 );
- text += tmp_quant;
- text += " ";
- text += skill_name(i);
- text += "\n";
- }
- }
-
+ dump_skills(text);
text += "\n";
text += "\n";
-} // end dump_skills()
+}
//---------------------------------------------------------------
//