summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2013-03-03 19:33:13 -0800
committerBrendan Hickey <brendan@bhickey.net>2013-03-03 19:33:13 -0800
commit840a04ff85923fa01509826a8e77893781c60296 (patch)
tree6247bcfa598afd8d1b50607c3e61037adebeeaa2 /crawl-ref/source/dgn-proclayouts.cc
parenteb4da3db2d66d74a6d22dece92dd98aa89cdb342 (diff)
downloadcrawl-ref-840a04ff85923fa01509826a8e77893781c60296.tar.gz
crawl-ref-840a04ff85923fa01509826a8e77893781c60296.zip
Initialize seed member in LevelLayout.
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index 735d9b658c..c3347b1a3d 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -218,7 +218,7 @@ dungeon_feature_type sanitize_feature(dungeon_feature_type feature, bool strict)
return feature;
}
-LevelLayout::LevelLayout(level_id id, uint32_t _seed, const ProceduralLayout &_layout) : layout(_layout)
+LevelLayout::LevelLayout(level_id id, uint32_t _seed, const ProceduralLayout &_layout) : seed(_seed), layout(_layout)
{
if(!is_existing_level(id))
{