summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-util.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@wybt.net>2010-12-14 18:56:43 +0300
committerVsevolod Kozlov <zaba@wybt.net>2010-12-14 20:27:57 +0300
commit1d0d674a88dfe86df575e207768623f1eabd6897 (patch)
treee06bcaf652246aa0e524b7655078ceac113b1dae /crawl-ref/source/dbg-util.cc
parenta5b6e0f92155dda4570996f64e148e89b0025b7f (diff)
downloadcrawl-ref-1d0d674a88dfe86df575e207768623f1eabd6897.tar.gz
crawl-ref-1d0d674a88dfe86df575e207768623f1eabd6897.zip
Convert env.level_layout_type into std::set<std::string> level_layout_types.
This lets one layout specify multiple layout types, which can be useful in combination with layout_* vault tags. Nothing uses this as of yet.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r--crawl-ref/source/dbg-util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc
index 1b0529f508..220709ad22 100644
--- a/crawl-ref/source/dbg-util.cc
+++ b/crawl-ref/source/dbg-util.cc
@@ -51,7 +51,8 @@ void debug_dump_levgen()
{
mpr("Currently generating level.");
method = env.level_build_method;
- type = env.level_layout_type;
+ type = comma_separated_line(env.level_layout_types.begin(),
+ env.level_layout_types.end(), ", ");
}
else
{