aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-01-22 15:09:26 +0000
committerGitHub <noreply@github.com>2021-01-22 15:09:26 +0000
commit4c76239818f5159314f30883f98b977d30aaa26c (patch)
tree42d2fc37b1e5ed2ad1c450a5547fce2ddec75b65 /src/mapgen
parent67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (diff)
downloadminetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.gz
minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.bz2
minetest-4c76239818f5159314f30883f98b977d30aaa26c.zip
Remove dead code (#10845)
Diffstat (limited to 'src/mapgen')
-rw-r--r--src/mapgen/mapgen_v6.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapgen/mapgen_v6.cpp b/src/mapgen/mapgen_v6.cpp
index e04180f96..bce9cee81 100644
--- a/src/mapgen/mapgen_v6.cpp
+++ b/src/mapgen/mapgen_v6.cpp
@@ -792,7 +792,7 @@ void MapgenV6::flowMud(s16 &mudflow_minpos, s16 &mudflow_maxpos)
v3s16(0, 0, -1), // Front
v3s16(-1, 0, 0), // Left
};
-
+
// Iterate twice
for (s16 k = 0; k < 2; k++) {
for (s16 z = mudflow_minpos; z <= mudflow_maxpos; z++)
@@ -1055,7 +1055,6 @@ void MapgenV6::growGrass() // Add surface nodes
MapNode n_dirt_with_grass(c_dirt_with_grass);
MapNode n_dirt_with_snow(c_dirt_with_snow);
MapNode n_snowblock(c_snowblock);
- MapNode n_snow(c_snow);
const v3s16 &em = vm->m_area.getExtent();
u32 index = 0;