summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/ouch.cc8
-rw-r--r--crawl-ref/source/tutorial.cc5
2 files changed, 6 insertions, 7 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 5025e419a8..705c9b3fed 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -947,11 +947,11 @@ void end_game( struct scorefile_entry &se )
if (dead)
{
mpr("You die..."); // insert player name here? {dlb}
- viewwindow(1, false); // don't do this for leaving/winning characters
- }
+ viewwindow(true, false); // don't do for leaving/winning characters
- if (Options.tutorial_left)
- tutorial_death_screen();
+ if (Options.tutorial_left)
+ tutorial_death_screen();
+ }
#ifdef DGL_WHEREIS
whereis_record( se.death_type == KILLED_BY_QUITTING? "quit" :
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index 10ac59b00c..856360742f 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -542,7 +542,7 @@ void tutorial_death_screen()
mpr( "Condolences! Your character's premature death is a sad, but "
"common occurence in Crawl. Rest assured that with diligence and "
- "playing experience your characters will last longer.\n", MSGCH_TUTORIAL);
+ "playing experience your characters will last longer.", MSGCH_TUTORIAL);
mpr( "Perhaps the following advice can improve your playing style:", MSGCH_TUTORIAL);
more();
@@ -692,8 +692,7 @@ void tutorial_finished()
print_formatted_paragraph(text, get_tutorial_cols(), MSGCH_TUTORIAL);
more();
- for ( long i = 0; i < TUT_EVENTS_NUM; ++i )
- Options.tutorial_events[i] = 0;
+ Options.tutorial_events.init(false);
}
// occasionally remind religious characters of praying