diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-07 15:25:03 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-07 15:25:03 +1000 |
commit | 1161d234624340e15f6f4ae03a93370d7f8e1913 (patch) | |
tree | ba813611bfcaef2f4395bcfc09dc0c817e3ceed0 /crawl-ref/source/maps.cc | |
parent | b7cea23ab0edf2e10adbd2cdac0545ea765a0eaf (diff) | |
download | crawl-ref-1161d234624340e15f6f4ae03a93370d7f8e1913.tar.gz crawl-ref-1161d234624340e15f6f4ae03a93370d7f8e1913.zip |
Switch to dpeg's new unique placement system.
Requires overall weight chance in unique.des and new dummies per-branch.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index f60732d7a2..1d009e6c6c 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -567,6 +567,7 @@ std::vector<map_def> find_maps_for_tag (const std::string tag, bool check_depth, { map_def mapdef = vdefs[i]; if (mapdef.has_tag(tag) + && !mapdef.has_tag("dummy") && (!check_depth || !mapdef.has_depth() || mapdef.is_usable_in(place)) && (!check_used || vault_unforbidden(mapdef))) |