diff options
author | gammafunk <gammafunk@gmail.com> | 2013-12-13 21:02:13 -0600 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-12-14 19:49:27 -0500 |
commit | d0d9e2db77f0b1c150735e50178e7c38c1cdb823 (patch) | |
tree | bc2dc6e9e2e6b1bf0796f17fa0584617703a7ff9 /crawl-ref/source/hiscores.cc | |
parent | 7c3aa6d5373809a83591cbe04e966b264a2c6a01 (diff) | |
download | crawl-ref-d0d9e2db77f0b1c150735e50178e7c38c1cdb823.tar.gz crawl-ref-d0d9e2db77f0b1c150735e50178e7c38c1cdb823.zip |
Remove an extra newline in death descriptions under certain conditions.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index d088463979..81462e20be 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -2586,7 +2586,7 @@ string scorefile_entry::death_description(death_desc_verbosity verbosity) const if (needs_damage && !done_damage && damage > 0) desc += " " + damage_string(); - if (needs_damage) + if (needs_damage && !done_damage) desc += _hiscore_newline_string(); if (you.duration[DUR_PARALYSIS]) |