diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:46:11 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:51:49 +0100 |
commit | b4544535b4cba05e494c17d9b06d18ae36edcdde (patch) | |
tree | 5910a4baded57b9e6122313cf531210f6b2db40e /crawl-ref/source/dungeon.cc | |
parent | 5e4363aeaf2796ee28133734fe1729aceb311fe4 (diff) | |
download | crawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.tar.gz crawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.zip |
Move tutorial state out of Options.
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index b4c0600289..b0ce733591 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -56,6 +56,7 @@ #include "terrain.h" #include "traps.h" #include "travel.h" +#include "tutorial.h" #ifdef DEBUG_DIAGNOSTICS #define DEBUG_TEMPLES 1 @@ -2695,7 +2696,7 @@ static const map_def *_dgn_random_map_for_place(bool minivault) // Disallow entry vaults for tutorial (only complicates things). if (!vault && lid.branch == BRANCH_MAIN_DUNGEON - && lid.depth == 1 && !Options.tutorial_left) + && lid.depth == 1 && !Tutorial.tutorial_left) { vault = random_map_for_tag("entry"); } |