summaryrefslogtreecommitdiffstats
path: root/src/Generating/StructGen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Generating/StructGen.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Generating/StructGen.h b/src/Generating/StructGen.h
index 76bdf44d4..96aa3e437 100644
--- a/src/Generating/StructGen.h
+++ b/src/Generating/StructGen.h
@@ -79,10 +79,19 @@ public:
struct OreInfo
{
BLOCKTYPE BlockType; // The type of the nest.
- NIBBLETYPE BlockMeta = 0; // The block meta
+ NIBBLETYPE BlockMeta; // The block meta
int MaxHeight; // The highest possible a nest can occur
int NumNests; // How many nests per chunk
int NestSize; // The amount of blocks a nest can have.
+
+ OreInfo() :
+ BlockType(0),
+ BlockMeta(0),
+ MaxHeight(0),
+ NumNests(0),
+ NestSize(0)
+ {
+ }
};
typedef std::vector<OreInfo> OreList;