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, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 5a8b5ebf48..9938e379b0 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1563,7 +1563,8 @@ std::string scorefile_entry::death_description(death_desc_verbosity verbosity)
else
{
snprintf( scratch, sizeof(scratch),
- "Killed by triggering a%s trap",
+ "Killed by triggering a%s%s trap",
+ auxkilldata.empty() ? "" : " ",
auxkilldata.c_str() );
desc += scratch;
}