From 6cadeed9e11ae87352f454d40fd4e0f25ba066be Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 17 Dec 2007 19:27:30 +0000 Subject: Make tutorial messages stop travel. (There might have been a FR to that effect, but if so I didn't find it.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3088 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index a0a0803e63..079302a6df 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -738,6 +738,9 @@ void tutorial_dissection_reminder(bool healthy) print_formatted_paragraph(text, get_tutorial_cols(), MSGCH_TUTORIAL); Options.tut_just_triggered = true; + + if (is_resting()) + stop_running(); } } @@ -776,6 +779,9 @@ void tutorial_healing_reminder() } print_formatted_paragraph(text, get_tutorial_cols(), MSGCH_TUTORIAL); Options.tut_just_triggered = 1; + + if (is_resting()) + stop_running(); } Options.tut_last_healed = you.num_turns; } @@ -1460,6 +1466,9 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) print_formatted_paragraph(s, get_tutorial_cols(), MSGCH_TUTORIAL); } + if (is_resting()) + stop_running(); + Options.tut_just_triggered = true; Options.tutorial_events[seen_what] = 0; Options.tutorial_left--; -- cgit v1.2.3-54-g00ecf