1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-15 13:55:11 -05:00

Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain

This commit is contained in:
paramat 2015-06-18 02:55:52 +01:00
parent ea1b17b88f
commit 2da1503780

View File

@ -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;
}