1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix warnings and other misc. minor changes

This commit is contained in:
kwolekr 2014-11-14 02:58:56 -05:00
parent 5b8855e83c
commit 8d3a68f343
11 changed files with 36 additions and 64 deletions

View file

@ -233,12 +233,8 @@ void MapgenV7::makeChunk(BlockMakeData *data) {
updateHeightmap(node_min, node_max);
// 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 and what not
generateBiomes();