diff options
author | Mattes D <github@xoft.cz> | 2019-09-07 23:02:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-08 20:21:49 +0200 |
commit | e4ac84a6ab6354d1b5ff1af90ae896e3704429e7 (patch) | |
tree | 492f1667114eb95f75095512876c46c5907ed2b9 /src/Generating/StructGen.cpp | |
parent | Generator: Added repeatability test. (diff) | |
download | cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.gz cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.bz2 cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.lz cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.xz cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.tar.zst cuberite-e4ac84a6ab6354d1b5ff1af90ae896e3704429e7.zip |
Diffstat (limited to 'src/Generating/StructGen.cpp')
-rw-r--r-- | src/Generating/StructGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/StructGen.cpp b/src/Generating/StructGen.cpp index 266308983..35e9b8991 100644 --- a/src/Generating/StructGen.cpp +++ b/src/Generating/StructGen.cpp @@ -39,7 +39,7 @@ void cStructGenTrees::GenFinish(cChunkDesc & a_ChunkDesc) // TODO: This may cause a lot of wasted calculations, instead of pulling data out of a single (cChunkDesc) cache cChunkDesc::Shape workerShape; - m_BiomeGen->GenBiomes (BaseX, BaseZ, WorkerDesc.GetBiomeMap()); + m_BiomeGen->GenBiomes ({BaseX, BaseZ}, WorkerDesc.GetBiomeMap()); m_ShapeGen->GenShape (BaseX, BaseZ, workerShape); WorkerDesc.SetHeightFromShape (workerShape); m_CompositionGen->ComposeTerrain(WorkerDesc, workerShape); |