Skip to content

Commit

Permalink
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Jun 18, 2015
1 parent ea1b17b commit 2da1503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen_v6.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2da1503

Please sign in to comment.