diff options
author | Mattes D <github@xoft.cz> | 2019-09-08 15:40:12 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-08 20:21:49 +0200 |
commit | 5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755 (patch) | |
tree | 7b633e2b29ae816dcc6a56c4d1c083518db7da04 /src/Generating/ComposableGenerator.cpp | |
parent | BiomeGen: Changed to use cChunkCoords params. (diff) | |
download | cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar.gz cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar.bz2 cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar.lz cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar.xz cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.tar.zst cuberite-5f4df3e87dc43bb9cbf19ea1e15d73ee0b5d1755.zip |
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index 65278051a..f28de931b 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -163,7 +163,7 @@ void cComposableGenerator::Generate(int a_ChunkX, int a_ChunkZ, cChunkDesc & a_C cChunkDesc::Shape shape; if (a_ChunkDesc.IsUsingDefaultHeight()) { - m_ShapeGen->GenShape(a_ChunkX, a_ChunkZ, shape); + m_ShapeGen->GenShape(a_ChunkDesc.GetChunkCoords(), shape); a_ChunkDesc.SetHeightFromShape(shape); } else |