summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2014-02-05 10:12:48 +0200
committerPekka Lampila <pekka.lampila@iki.fi>2014-02-05 11:13:15 +0200
commit002eafddd18b322ed5f6d8d6e5a679e995fc2de3 (patch)
treedbdde66a6b22b7832c71adc426d7f5258d117ab5 /crawl-ref/source/ouch.cc
parentb36e17b1acfe60c734b228eb5805a17e9f1f3c57 (diff)
downloadcrawl-ref-002eafddd18b322ed5f6d8d6e5a679e995fc2de3.tar.gz
crawl-ref-002eafddd18b322ed5f6d8d6e5a679e995fc2de3.zip
Include a link to character dump/morgue in exit game dialog.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 9adf220041..53f4ce7686 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -1394,14 +1394,18 @@ void _end_game(scorefile_entry &se)
hints_death_screen();
}
- if (!dump_char(morgue_name(you.your_name, se.get_death_time()),
- true, true, &se))
+ string fname = morgue_name(you.your_name, se.get_death_time());
+ if (!dump_char(fname, true, true, &se))
{
mpr("Char dump unsuccessful! Sorry about that.");
if (!crawl_state.seen_hups)
more();
clrscr();
}
+#ifdef USE_TILE_WEB
+ else
+ tiles.send_dump_info("morgue", fname);
+#endif
#if defined(DGL_WHEREIS) || defined(USE_TILE_WEB)
string reason = se.get_death_type() == KILLED_BY_QUITTING? "quit" :