From 4c56ab40290b29a37eefb46230e987ed6028ce4f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 25 Mar 2007 13:49:52 +0000 Subject: Applied whereis patch from crawl.akrasiac.org (tracks where the player is in the dungeon). All dgamelaunch patches are conditionalised by DGL_foo #ifdefs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1096 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/ouch.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/ouch.cc') 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(); -- cgit v1.2.3-54-g00ecf