From: paramat Date: Thu, 18 Jun 2015 01:55:52 +0000 (+0100) Subject: Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain X-Git-Tag: 0.4.13~194 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2da150378039371761b2f8d1a13036382228e248;p=oweals%2Fminetest.git Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain --- diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index 50126ecf0..732ec0955 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -1007,7 +1007,7 @@ void MapgenV6::growGrass() // Add surface nodes } else if (bt == BT_TUNDRA) { if (c == c_dirt) { vm->m_data[i] = n_dirt_with_snow; - } else if (c == c_stone) { + } else if (c == c_stone && surface_y < node_max.Y) { vm->m_area.add_y(em, i, 1); vm->m_data[i] = n_snow; }