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.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 9b044de020..fe7387e35b 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -893,7 +893,14 @@ void end_game( struct scorefile_entry &se )
if (Options.tutorial_left)
tutorial_death_screen();
-
+
+#ifdef DGL_WHEREIS
+ whereis_record( se.death_type == KILLED_BY_QUITTING? "quit" :
+ se.death_type == KILLED_BY_WINNING? "won" :
+ se.death_type == KILLED_BY_LEAVING? "bailed out" :
+ "dead" );
+#endif
+
if (!crawl_state.seen_hups)
more();