diff options
Diffstat (limited to 'src/ChunkGeneratorThread.cpp')
-rw-r--r-- | src/ChunkGeneratorThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkGeneratorThread.cpp b/src/ChunkGeneratorThread.cpp index a5703bd2c..c87c1db21 100644 --- a/src/ChunkGeneratorThread.cpp +++ b/src/ChunkGeneratorThread.cpp @@ -99,7 +99,7 @@ void cChunkGeneratorThread::GenerateBiomes(cChunkCoords a_Coords, cChunkDef::Bio { if (m_Generator != nullptr) { - m_Generator->GenerateBiomes(a_Coords.m_ChunkX, a_Coords.m_ChunkZ, a_BiomeMap); + m_Generator->GenerateBiomes(a_Coords, a_BiomeMap); } } @@ -247,7 +247,7 @@ void cChunkGeneratorThread::DoGenerate(cChunkCoords a_Coords) cChunkDesc ChunkDesc(a_Coords); m_PluginInterface->CallHookChunkGenerating(ChunkDesc); - m_Generator->Generate(a_Coords.m_ChunkX, a_Coords.m_ChunkZ, ChunkDesc); + m_Generator->Generate(ChunkDesc); m_PluginInterface->CallHookChunkGenerated(ChunkDesc); #ifdef _DEBUG |