diff options
-rw-r--r-- | crawl-ref/docs/develop/levels/syntax.txt | 2 | ||||
-rw-r--r-- | crawl-ref/source/mapdef.cc | 2 |
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) |