diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-17 19:27:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-17 19:27:30 +0000 |
commit | 6cadeed9e11ae87352f454d40fd4e0f25ba066be (patch) | |
tree | 6274a3d13a1ad438403b7aaa8f427d78dee1d1d2 /crawl-ref/source/tutorial.cc | |
parent | bba53aa20f744f794b7cb43f9e37e49c1f70ad95 (diff) | |
download | crawl-ref-6cadeed9e11ae87352f454d40fd4e0f25ba066be.tar.gz crawl-ref-6cadeed9e11ae87352f454d40fd4e0f25ba066be.zip |
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
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 9 |
1 files changed, 9 insertions, 0 deletions
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--; |