forked from Mirrorlandia_minetest/minetest
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) {
|
} else if (bt == BT_TUNDRA) {
|
||||||
if (c == c_dirt) {
|
if (c == c_dirt) {
|
||||||
vm->m_data[i] = n_dirt_with_snow;
|
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_area.add_y(em, i, 1);
|
||||||
vm->m_data[i] = n_snow;
|
vm->m_data[i] = n_snow;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user