projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1b17b
)
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain
author
paramat
<mat.gregory@virginmedia.com>
Thu, 18 Jun 2015 01:55:52 +0000
(
02:55
+0100)
committer
paramat
<mat.gregory@virginmedia.com>
Thu, 18 Jun 2015 03:18:15 +0000
(
04:18
+0100)
src/mapgen_v6.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen_v6.cpp
b/src/mapgen_v6.cpp
index 50126ecf0d2ba5888a30fc7f59df7fd0e6c88ec3..732ec09558200b6d5c1639a0f50c4c27757edbca 100644
(file)
--- a/
src/mapgen_v6.cpp
+++ b/
src/mapgen_v6.cpp
@@
-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;
}