summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-11 14:19:00 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-11 14:19:00 -0800
commitf0b1c25fa937388e6fc235e181f430ccac601435 (patch)
tree064ae4a91d8018284a0b8f28feb657872e86cdae /crawl-ref/source/maps.cc
parent193248a7eb4450fb017c930b5a751a4eaaa9417b (diff)
downloadcrawl-ref-f0b1c25fa937388e6fc235e181f430ccac601435.tar.gz
crawl-ref-f0b1c25fa937388e6fc235e181f430ccac601435.zip
Place arbitrarily sized main temple
The main Temple (temple branch) can now have an arbitrary number of altars, decided at new-game initialization time. Vaults with differing numbers of altars can be given the tag "temple_main_N", with N being the number of altars.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index 7f6e304902..bc2139681d 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -507,7 +507,7 @@ bool map_selector::accept(const map_def &mapdef) const
&& mapdef.place == place
&& !mapdef.has_tag("layout")
&& !mapdef.has_tag("place_unique")
- && !mapdef.has_tag_prefix("overflow_temple_")
+ && !mapdef.has_tag_prefix("temple_")
&& map_matches_layout_type(mapdef)
&& vault_unforbidden(mapdef));
case DEPTH:
@@ -523,7 +523,7 @@ bool map_selector::accept(const map_def &mapdef) const
&& !mapdef.has_tag("bazaar")
&& !mapdef.has_tag("layout")
&& !mapdef.has_tag("place_unique")
- && !mapdef.has_tag_prefix("overflow_temple_")
+ && !mapdef.has_tag_prefix("temple_")
&& (!check_layout || map_matches_layout_type(mapdef))
&& vault_unforbidden(mapdef));
case TAG: