summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-10-29 11:42:42 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-10-29 11:42:42 +0000
commitc70134909b085166338c0d3a39a6c6d3b2b5db53 (patch)
treec25fdc483b6d89457afb73a3a38e9bcf9e46b139
parent59ea3af23c9fda27662c4ffd8069ce1237bddcba (diff)
downloadcrawl-ref-c70134909b085166338c0d3a39a6c6d3b2b5db53.tar.gz
crawl-ref-c70134909b085166338c0d3a39a6c6d3b2b5db53.zip
Don't initialize full scorefile_entry when taking low-hp notes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@305 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/ouch.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 7f318959e2..9ce779f56b 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -748,11 +748,7 @@ void ouch( int dam, int death_source, char death_type, const char *aux )
NOTE_HP_CHANGE,
you.hp,
you.hp_max,
- scorefile_entry(
- dam,
- death_source,
- death_type,
- aux )
+ scorefile_entry(dam, death_source, death_type, aux, true)
.death_description(scorefile_entry::DDV_TERSE)
.c_str()) );