summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-16 21:46:11 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-16 21:51:49 +0100
commitb4544535b4cba05e494c17d9b06d18ae36edcdde (patch)
tree5910a4baded57b9e6122313cf531210f6b2db40e /crawl-ref/source/command.cc
parent5e4363aeaf2796ee28133734fe1729aceb311fe4 (diff)
downloadcrawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.tar.gz
crawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.zip
Move tutorial state out of Options.
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc3
1 files changed, 2 insertions, 1 deletions
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);