summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-01-20 12:48:37 -0500
committerNeil Moore <neil@s-z.org>2014-01-20 12:48:37 -0500
commit57445f6d1e0c318427379532117cc6fa897179af (patch)
tree81033d0f52eee1f0a312a756cb2e89854c357a28 /crawl-ref/source/chardump.cc
parent899f469b23f1e79ee6e7c81a100d9c5ca3212b86 (diff)
downloadcrawl-ref-57445f6d1e0c318427379532117cc6fa897179af.tar.gz
crawl-ref-57445f6d1e0c318427379532117cc6fa897179af.zip
Capitalise evoker names in action count dump (ChrisOelmueller)
Both ordinary evokers and evocable unrands failed to have their first letter capitalised, inconsistently with everything else in the table.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index 8de377de5c..6ad593ec01 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -1206,7 +1206,7 @@ static string _describe_action_subtype(caction_type type, int subtype)
return ability_name((ability_type)subtype);
case CACT_EVOKE:
if (subtype >= UNRAND_START && subtype <= UNRAND_LAST)
- return get_unrand_entry(subtype)->name;
+ return uppercase_first(get_unrand_entry(subtype)->name);
if (subtype >= 1 << 16)
{
@@ -1214,7 +1214,7 @@ static string _describe_action_subtype(caction_type type, int subtype)
dummy.base_type = (object_class_type)(subtype >> 16);
dummy.sub_type = subtype & 0xffff;
dummy.quantity = 1;
- return dummy.name(DESC_PLAIN, true);
+ return uppercase_first(dummy.name(DESC_PLAIN, true));
}
switch ((evoc_type)subtype)