From 82a0fc6f7b2df93a9da14f4f1c061d4b861313ba Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Fri, 13 Nov 2009 12:31:05 -0800 Subject: Fix line breaking for being smited to death by a summon --- crawl-ref/source/hiscores.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref') 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; } -- cgit v1.2.3-54-g00ecf