From b4544535b4cba05e494c17d9b06d18ae36edcdde Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 16 Nov 2009 21:46:11 +0100 Subject: Move tutorial state out of Options. --- crawl-ref/source/command.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/command.cc') diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 89c59c8bdb..26be6196f8 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -50,6 +50,7 @@ #include "stuff.h" #include "terrain.h" #include "transfor.h" +#include "tutorial.h" #include "view.h" #include "viewchar.h" @@ -2333,7 +2334,7 @@ void list_commands(int hotkey, bool do_redraw_screen) // Page size is number of lines - one line for --more-- prompt. cols.set_pagesize(get_number_of_lines() - 1); - if (Options.tutorial_left) + if (Tutorial.tutorial_left) _add_formatted_tutorial_help(cols); else _add_formatted_keyhelp(cols); -- cgit v1.2.3-54-g00ecf