mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Mapgen: Optimize biomemap creation by combining with generateBiomes
This commit is contained in:
parent
d24f384174
commit
d4457ef420
6 changed files with 18 additions and 11 deletions
|
@ -219,7 +219,6 @@ void MapgenV7::makeChunk(BlockMakeData *data)
|
|||
|
||||
// Init biome generator, place biome-specific nodes, and build biomemap
|
||||
biomegen->calcBiomeNoise(node_min);
|
||||
biomegen->getBiomes(heightmap);
|
||||
MgStoneType stone_type = generateBiomes();
|
||||
|
||||
if (flags & MG_CAVES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue