From 8d3a68f343777c438b9caf9f646e913d4b66e046 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Fri, 14 Nov 2014 02:58:56 -0500 Subject: Fix warnings and other misc. minor changes --- src/mapgen_v7.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mapgen_v7.cpp') 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(); -- cgit v1.2.3