summaryrefslogtreecommitdiffstats
path: root/src/Generating/CompositedHeiGen.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-07 23:02:05 +0200
committerMattes D <github@xoft.cz>2019-09-08 20:21:49 +0200
commite4ac84a6ab6354d1b5ff1af90ae896e3704429e7 (patch)
tree492f1667114eb95f75095512876c46c5907ed2b9 /src/Generating/CompositedHeiGen.h
parentGenerator: Added repeatability test. (diff)
downloadcuberite-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/CompositedHeiGen.h')
-rw-r--r--src/Generating/CompositedHeiGen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompositedHeiGen.h b/src/Generating/CompositedHeiGen.h
index 2db781e04..d7be3c8ac 100644
--- a/src/Generating/CompositedHeiGen.h
+++ b/src/Generating/CompositedHeiGen.h
@@ -35,7 +35,7 @@ public:
cChunkDesc::Shape shape;
m_ShapeGen->GenShape(a_ChunkX, a_ChunkZ, shape);
cChunkDesc desc({a_ChunkX, a_ChunkZ});
- m_BiomeGen->GenBiomes(a_ChunkX, a_ChunkZ, desc.GetBiomeMap()); // Need to initialize biomes for the composition gen
+ m_BiomeGen->GenBiomes({a_ChunkX, a_ChunkZ}, desc.GetBiomeMap()); // Need to initialize biomes for the composition gen
desc.SetHeightFromShape(shape);
m_CompositionGen->ComposeTerrain(desc, shape);
memcpy(a_HeightMap, desc.GetHeightMap(), sizeof(a_HeightMap));