diff options
author | kwolekr <kwolekr@minetest.net> | 2014-11-14 02:58:56 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-11-14 03:07:12 -0500 |
commit | 8d3a68f343777c438b9caf9f646e913d4b66e046 (patch) | |
tree | c69c8b6d0fd2570451f7d56e72faa75d06130638 /src/mapgen_v7.cpp | |
parent | 5b8855e83c0d1cc7aef21492e7fe862b7d06917e (diff) | |
download | minetest-8d3a68f343777c438b9caf9f646e913d4b66e046.tar.gz minetest-8d3a68f343777c438b9caf9f646e913d4b66e046.tar.bz2 minetest-8d3a68f343777c438b9caf9f646e913d4b66e046.zip |
Fix warnings and other misc. minor changes
Diffstat (limited to 'src/mapgen_v7.cpp')
-rw-r--r-- | src/mapgen_v7.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 39f0984a1..8e345164e 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -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(); |