summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-08 15:59:15 +0200
committerMattes D <github@xoft.cz>2019-09-08 20:21:49 +0200
commitad24702b4e0569318c97391cd930c5956d190016 (patch)
tree48182f7af3185b8a5ef217ac408e0a3756ba8964 /src/Generating/ComposableGenerator.cpp
parentShapeGen, HeiGen: Changed to use cChunkCoords. (diff)
downloadcuberite-ad24702b4e0569318c97391cd930c5956d190016.tar
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.gz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.bz2
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.lz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.xz
cuberite-ad24702b4e0569318c97391cd930c5956d190016.tar.zst
cuberite-ad24702b4e0569318c97391cd930c5956d190016.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index f28de931b..f87d63493 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -141,11 +141,11 @@ void cComposableGenerator::Initialize(cIniFile & a_IniFile)
-void cComposableGenerator::GenerateBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap)
+void cComposableGenerator::GenerateBiomes(cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap & a_BiomeMap)
{
if (m_BiomeGen != nullptr) // Quick fix for generator deinitializing before the world storage finishes loading
{
- m_BiomeGen->GenBiomes({a_ChunkX, a_ChunkZ}, a_BiomeMap);
+ m_BiomeGen->GenBiomes(a_ChunkCoords, a_BiomeMap);
}
}
@@ -153,7 +153,7 @@ void cComposableGenerator::GenerateBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef:
-void cComposableGenerator::Generate(int a_ChunkX, int a_ChunkZ, cChunkDesc & a_ChunkDesc)
+void cComposableGenerator::Generate(cChunkDesc & a_ChunkDesc)
{
if (a_ChunkDesc.IsUsingDefaultBiomes())
{