mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
This commit is contained in:
parent
ea1b17b88f
commit
2da1503780
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user