summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-04 14:16:55 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-04 14:16:55 +0000
commita90b4adaf06986bbf6fcd0dce08b4b122d9b9e80 (patch)
tree8d12f65b829ed914fcaffb656020977fe6d615a8 /crawl-ref/source/hiscores.cc
parenta201b4140affd8bf18c34c368cb972bb25544deb (diff)
downloadcrawl-ref-a90b4adaf06986bbf6fcd0dce08b4b122d9b9e80.tar.gz
crawl-ref-a90b4adaf06986bbf6fcd0dce08b4b122d9b9e80.zip
Killing-blow damage was not being saved to logfile, fixed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2748 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 179ab7a4ce..0223f4ebf9 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -718,6 +718,7 @@ void scorefile_entry::set_score_fields() const
fields->add_field("sc", "%ld", points);
fields->add_field("ktyp", ::kill_method_name(kill_method_type(death_type)));
fields->add_field("killer", death_source_desc().c_str());
+ fields->add_field("dam", "%d", damage);
fields->add_field("kaux", "%s", auxkilldata.c_str());