From 34d58cf8983364cfc3dc71d14a552e33ff087b5f Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Sun, 17 Jan 2010 10:41:16 +0530 Subject: All secondary vaults in the Swamp get an implicit water_ok tag, since they'll otherwise never be placed. --- crawl-ref/source/maps.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index 0855eb5664..1aeefcfde5 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -337,7 +337,8 @@ bool map_safe_vault_place(const map_def &map, if (size.zero()) return (true); - const bool water_ok = map.has_tag("water_ok"); + const bool water_ok = + map.has_tag("water_ok") || player_in_branch(BRANCH_SWAMP); const std::vector &lines = map.map.get_lines(); for (rectangle_iterator ri(c, c + size - 1); ri; ++ri) -- cgit v1.2.3-54-g00ecf