summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.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/dungeon.cc
parent5e4363aeaf2796ee28133734fe1729aceb311fe4 (diff)
downloadcrawl-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.cc3
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");
}