summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 7aac2b04b5..ba8baac296 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -56,12 +56,14 @@
#define MAX_PIT_MONSTERS 10
-struct pit_mons_def {
+struct pit_mons_def
+{
int type;
int rare;
};
-struct spec_t {
+struct spec_t
+{
bool created;
bool hooked_up;
int x1;
@@ -3838,7 +3840,8 @@ static int builder_by_type(int level_number, char level_type)
if (which_demon >= 0)
{
- const char *pandemon_level_names[] = {
+ const char *pandemon_level_names[] =
+ {
"mnoleg", "lom_lobon", "cerebov", "gloorx_vloq"
};
you.unique_creatures[40 + which_demon] = 1;
@@ -3896,6 +3899,9 @@ static int random_map_for_dlevel(int level_number, bool wantmini = false)
vault = random_map_for_tag("entry", wantmini);
}
+ if (Options.tutorial_left)
+ vault = -1;
+
return (vault);
}