summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-09-28 22:10:03 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-09-28 22:10:03 +0200
commit7c18681e092c905eafbcdcb7ecbd98ec13946502 (patch)
tree04b621b2d60974d82cd73ca0e6ce3227ffed6c7f
parentAdded Granite, Diorite and Andesite to the NaturalPatches generator. (diff)
downloadcuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar.gz
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar.bz2
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar.lz
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar.xz
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.tar.zst
cuberite-7c18681e092c905eafbcdcb7ecbd98ec13946502.zip
-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;