From 86dc398a7beae94fc5a6be15143a6a50d500c916 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 1 Jan 2009 04:38:06 +0000 Subject: 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 --- crawl-ref/source/dungeon.cc | 5 ++++- 1 file changed, 4 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 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); } } -- cgit v1.2.3-54-g00ecf