summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-11-13 12:31:05 -0800
committerStefan O'Rear <stefanor@cox.net>2009-11-13 12:31:05 -0800
commit82a0fc6f7b2df93a9da14f4f1c061d4b861313ba (patch)
tree50545244452b7574c412fde38590bcc8d7603b43 /crawl-ref/source/hiscores.cc
parent7ec7eeeab0f4d6dadba493d5b11cc3a0910f6a06 (diff)
downloadcrawl-ref-82a0fc6f7b2df93a9da14f4f1c061d4b861313ba.tar.gz
crawl-ref-82a0fc6f7b2df93a9da14f4f1c061d4b861313ba.zip
Fix line breaking for being smited to death by a summon
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 fdae35bc89..d505097907 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1943,6 +1943,7 @@ std::string scorefile_entry::death_description(death_desc_verbosity verbosity)
auxkilldata.c_str());
desc += scratch;
needs_damage = true;
+ desc += _hiscore_newline_string();
}
else
desc += make_stringf(" (%s)", auxkilldata.c_str());
@@ -1954,6 +1955,7 @@ std::string scorefile_entry::death_description(death_desc_verbosity verbosity)
desc += (is_vowel( auxkilldata[0] )) ? "... with an "
: "... with a ";
desc += auxkilldata;
+ desc += _hiscore_newline_string();
needs_damage = true;
}
}
@@ -1962,6 +1964,7 @@ std::string scorefile_entry::death_description(death_desc_verbosity verbosity)
snprintf( scratch, sizeof(scratch), "... invoked by %s",
death_source_name.c_str() );
desc += scratch;
+ desc += _hiscore_newline_string();
needs_damage = true;
}