summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 04:38:06 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-01 04:38:06 +0000
commit86dc398a7beae94fc5a6be15143a6a50d500c916 (patch)
tree438c5f5124a0bfefbfad137ff83f22c3da489b4d /crawl-ref/source/dungeon.cc
parent595e6714fd6863571ca6b900685782f2ab27c397 (diff)
downloadcrawl-ref-86dc398a7beae94fc5a6be15143a6a50d500c916.tar.gz
crawl-ref-86dc398a7beae94fc5a6be15143a6a50d500c916.zip
Bug #2025033: To prevent a vault's rock walls from being changed to match the
walls of the rest of the level in the Vaults, the Crypt and in Dis you can use the tag no_wall_fixup git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8073 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index b16ec0e371..b9eaf73704 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -774,6 +774,9 @@ void dgn_register_place(const vault_placement &place, bool register_vault)
if (place.map.has_tag("no_pool_fixup"))
_mask_vault(place, MMT_NO_POOL);
+ if (place.map.has_tag("no_wall_fixup"))
+ _mask_vault(place, MMT_NO_WALL);
+
if (!place.map.has_tag("transparent"))
_mask_vault(place, MMT_OPAQUE);
@@ -1076,7 +1079,7 @@ static void _fixup_walls()
vault_wall = DNGN_STONE_WALL;
}
- _replace_area(0,0,GXM-1,GYM-1,DNGN_ROCK_WALL,vault_wall);
+ _replace_area(0,0,GXM-1,GYM-1,DNGN_ROCK_WALL,vault_wall,MMT_NO_WALL);
}
}