mirror of
https://github.com/minetest/minetest.git
synced 2025-02-18 19:03:46 +01:00
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user