summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-04 08:50:59 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-04 08:50:59 +0000
commit2c769fc53c28c3db16d89757564efaf70ca116ab (patch)
treee304cadb3ebbaca0d5c52ce693ab2ef4890ea914 /crawl-ref/source/ouch.cc
parente878ffbb8924a9523c3757a659adbe1a517474a0 (diff)
downloadcrawl-ref-2c769fc53c28c3db16d89757564efaf70ca116ab.tar.gz
crawl-ref-2c769fc53c28c3db16d89757564efaf70ca116ab.zip
Applied sartak's logfile patch.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@552 c06c8d41-db1a-0410-9941-cceddc491573
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();