summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 2aa17937c2..ee25955bbb 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1835,6 +1835,7 @@ scorefile_entry::death_description(death_desc_verbosity verbosity) const
std::string beam = terse_missile_name();
if (beam.empty())
beam = terse_beam_cause();
+ trim_string(beam);
if (!beam.empty())
desc += make_stringf(" (%s)", beam.c_str());
}
@@ -2128,6 +2129,8 @@ scorefile_entry::death_description(death_desc_verbosity verbosity) const
desc += scratch;
needs_damage = true;
}
+ else
+ desc += make_stringf(" (%s)", auxkilldata.c_str());
}
else if (needs_beam_cause_line)
{