diff options
Diffstat (limited to 'src/mapgen_v5.cpp')
-rw-r--r-- | src/mapgen_v5.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp index e98b211af..bb8c703cc 100644 --- a/src/mapgen_v5.cpp +++ b/src/mapgen_v5.cpp @@ -230,12 +230,8 @@ void MapgenV5::makeChunk(BlockMakeData *data) { } // Calculate biomes - BiomeNoiseInput binput; - binput.mapsize = v2s16(csize.X, csize.Z); - binput.heat_map = noise_heat->result; - binput.humidity_map = noise_humidity->result; - binput.height_map = heightmap; - bmgr->calcBiomes(&binput, biomemap); + bmgr->calcBiomes(csize.X, csize.Z, noise_heat->result, + noise_humidity->result, heightmap, biomemap); // Actually place the biome-specific nodes generateBiomes(); |