diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-09-28 22:10:03 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-09-28 22:10:03 +0200 |
commit | 7c18681e092c905eafbcdcb7ecbd98ec13946502 (patch) | |
tree | 04b621b2d60974d82cd73ca0e6ce3227ffed6c7f | |
parent | Added Granite, Diorite and Andesite to the NaturalPatches generator. (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/StructGen.h | 11 |
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; |