diff options
author | paramat <paramat@users.noreply.github.com> | 2017-08-20 23:07:07 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-08-20 23:59:02 +0100 |
commit | 1dd535c0c6a80f64e6663002b92b8b2025973217 (patch) | |
tree | ade2032e0353a1709233ca223f51716fa1d11040 /src | |
parent | 7657fe7a505425e82d9cab7ae5638f7927138fb0 (diff) | |
download | minetest-1dd535c0c6a80f64e6663002b92b8b2025973217.tar.gz minetest-1dd535c0c6a80f64e6663002b92b8b2025973217.tar.bz2 minetest-1dd535c0c6a80f64e6663002b92b8b2025973217.zip |
Mgv6: Remove incorrectly defined and unused 'volume nodes'
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen_v6.cpp | 7 | ||||
-rw-r--r-- | src/mapgen_v6.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index e67e78f6c..ec097074f 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -512,13 +512,6 @@ void MapgenV6::makeChunk(BlockMakeData *data) central_area_size = node_max - node_min + v3s16(1, 1, 1); assert(central_area_size.X == central_area_size.Z); - int volume_blocks = (blockpos_max.X - blockpos_min.X + 1) - * (blockpos_max.Y - blockpos_min.Y + 1) - * (blockpos_max.Z - blockpos_max.Z + 1); - - volume_nodes = volume_blocks * - MAP_BLOCKSIZE * MAP_BLOCKSIZE * MAP_BLOCKSIZE; - // Create a block-specific seed blockseed = get_blockseed(data->seed, full_node_min); diff --git a/src/mapgen_v6.h b/src/mapgen_v6.h index 872679683..9c8794217 100644 --- a/src/mapgen_v6.h +++ b/src/mapgen_v6.h @@ -91,7 +91,6 @@ public: v3s16 full_node_min; v3s16 full_node_max; v3s16 central_area_size; - int volume_nodes; Noise *noise_terrain_base; Noise *noise_terrain_higher; |