summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index f73f3c20da..433acb8ce6 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -785,6 +785,7 @@ void ouch( int dam, int death_source, char death_type, const char *aux )
#ifdef SCORE_WIZARD_CHARACTERS
// add this highscore to the score file.
hiscores_new_entry(se);
+ logfile_new_entry(se);
#else
// only add non-wizards to the score file.
@@ -792,6 +793,7 @@ void ouch( int dam, int death_source, char death_type, const char *aux )
if (!you.wizard)
{
hiscores_new_entry(se);
+ logfile_new_entry(se);
if (death_type != KILLED_BY_LEAVING && death_type != KILLED_BY_WINNING)
save_ghost();