diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-06-16 16:12:50 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-06-16 16:12:50 +0200 |
commit | ee50790398791c38e563eee04cf12780fab74baf (patch) | |
tree | 2bbcebf1be2e567dce3f684884d8650c29883bd4 /src/Generating/Caves.h | |
parent | Fix a few warnings (diff) | |
download | cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar.gz cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar.bz2 cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar.lz cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar.xz cuberite-ee50790398791c38e563eee04cf12780fab74baf.tar.zst cuberite-ee50790398791c38e563eee04cf12780fab74baf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/Caves.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/Caves.h b/src/Generating/Caves.h index 254dcddbd..0e17acf9e 100644 --- a/src/Generating/Caves.h +++ b/src/Generating/Caves.h @@ -69,7 +69,7 @@ class cStructGenWormNestCaves : typedef cGridStructGen super; public: cStructGenWormNestCaves(int a_Seed, int a_Size = 64, int a_Grid = 96, int a_MaxOffset = 128) : - super(a_Seed, a_Grid, a_Grid, a_Size + a_MaxOffset, a_Size + a_MaxOffset, 100), + super(a_Seed, a_Grid, a_Grid, a_MaxOffset, a_MaxOffset, a_Size, a_Size, 100), m_Noise(a_Seed), m_Size(a_Size), m_MaxOffset(a_MaxOffset), @@ -86,7 +86,7 @@ protected: int m_Grid; // average spacing of the nests // cGridStructGen override: - virtual cStructurePtr CreateStructure(int a_OriginX, int a_OriginZ) override; + virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override; } ; |