summaryrefslogtreecommitdiffstats
path: root/src/Generating/VillageGen.cpp
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/VillageGen.cpp
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/VillageGen.cpp')
-rw-r--r--src/Generating/VillageGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/VillageGen.cpp b/src/Generating/VillageGen.cpp
index 5473965d6..48bf9e467 100644
--- a/src/Generating/VillageGen.cpp
+++ b/src/Generating/VillageGen.cpp
@@ -375,7 +375,7 @@ cGridStructGen::cStructurePtr cVillageGen::CreateStructure(int a_GridX, int a_Gr
int ChunkX, ChunkZ;
cChunkDef::BlockToChunk(a_OriginX, a_OriginZ, ChunkX, ChunkZ);
cChunkDef::BiomeMap Biomes;
- m_BiomeGen->GenBiomes(ChunkX, ChunkZ, Biomes);
+ m_BiomeGen->GenBiomes({ChunkX, ChunkZ}, Biomes);
// Get a list of pools that support each biome within the chunk:
// If just one column's biome is not allowed, the pool is not used because it's likely that an unfriendly biome is too close