summaryrefslogtreecommitdiffstats
path: root/src/Generating/Caves.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-15 23:30:43 +0200
committermadmaxoft <github@xoft.cz>2014-06-15 23:34:44 +0200
commitd9719e696ce11df0557acbbc56545cb0d0f95075 (patch)
tree2de0752e3001ad4f17f6b2626320e9fa04ae6b0a /src/Generating/Caves.h
parentMerge pull request #1090 from mc-server/saveoncrash (diff)
downloadcuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar.gz
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar.bz2
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar.lz
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar.xz
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.tar.zst
cuberite-d9719e696ce11df0557acbbc56545cb0d0f95075.zip
Diffstat (limited to 'src/Generating/Caves.h')
-rw-r--r--src/Generating/Caves.h4
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;
} ;