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/dungeon.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/dungeon.cc') 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"); } -- cgit v1.2.3-54-g00ecf