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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 24ca1a90cb..80da72274b 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1194,7 +1194,9 @@ std::string scorefile_entry::death_source_desc() const
{
if (death_type != KILLED_BY_MONSTER && death_type != KILLED_BY_BEAM
&& death_type != KILLED_BY_DISINT)
+ {
return ("");
+ }
// XXX no longer handles mons_num correctly! FIXME
return (!death_source_name.empty() ?