mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Mapgen: Optimize biomemap creation by combining with generateBiomes
This commit is contained in:
@@ -250,10 +250,7 @@ void MapgenValleys::makeChunk(BlockMakeData *data)
|
||||
// Generate base terrain with initial heightmaps
|
||||
s16 stone_surface_max_y = generateTerrain();
|
||||
|
||||
// Build biomemap
|
||||
m_bgen->getBiomes(heightmap);
|
||||
|
||||
// Place biome-specific nodes
|
||||
// Place biome-specific nodes and build biomemap
|
||||
MgStoneType stone_type = generateBiomes();
|
||||
|
||||
// Cave creation.
|
||||
|
Reference in New Issue
Block a user