summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-19 16:12:57 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-19 16:15:15 +1000
commitcd25b9d47f0ea56b2fe6cf4de495b229cc8e775c (patch)
treeab663d93bbf6195b657b6e2a1fa0626ebe408f29 /crawl-ref
parent3f8fcfb513e960f70a910a8c40ba8ea3d66ce1c4 (diff)
downloadcrawl-ref-cd25b9d47f0ea56b2fe6cf4de495b229cc8e775c.tar.gz
crawl-ref-cd25b9d47f0ea56b2fe6cf4de495b229cc8e775c.zip
Make KMASK: c = no_wall_fixup work. (nrook)
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/docs/develop/levels/syntax.txt2
-rw-r--r--crawl-ref/source/mapdef.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/docs/develop/levels/syntax.txt b/crawl-ref/docs/develop/levels/syntax.txt
index 76de981bdb..0a7b56d7e2 100644
--- a/crawl-ref/docs/develop/levels/syntax.txt
+++ b/crawl-ref/docs/develop/levels/syntax.txt
@@ -1000,6 +1000,8 @@ KMASK: Z = no_monster_gen
entry vaults.
* "no_pool_fixup": prevents a water square next to land from being
randomly converted from deep water (the default) to shallow.
+ * "no_wall_fixup": prevents (rock) walls from being converted to
+ the level's default wall type, such as in Vaults.
* "no_secret_doors": prevents a door from randomly being turned
into a secret door.
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 7076afe316..effde648fa 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -4555,7 +4555,7 @@ std::string keyed_mapspec::set_mask(const std::string &s, bool garbage)
{
static std::string flag_list[] =
{"vault", "no_item_gen", "no_monster_gen", "no_pool_fixup",
- "no_secret_doors", "opaque", ""};
+ "no_secret_doors", "no_wall_fixup", "opaque", ""};
map_mask = map_flags::parse(flag_list, s);
}
catch (const std::string &error)