aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-06-18 02:55:52 +0100
committerparamat <mat.gregory@virginmedia.com>2015-06-18 04:18:15 +0100
commit2da150378039371761b2f8d1a13036382228e248 (patch)
tree1f14c829fc1fbf24996c255eec5bb55aeb07d173 /src
parentea1b17b88f24eac7125a0765c37bbcd4fe8399db (diff)
downloadminetest-2da150378039371761b2f8d1a13036382228e248.tar.gz
minetest-2da150378039371761b2f8d1a13036382228e248.tar.bz2
minetest-2da150378039371761b2f8d1a13036382228e248.zip
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
Diffstat (limited to 'src')
-rw-r--r--src/mapgen_v6.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}