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:
8ab77f4
)
modified mapgen to generate less lava
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 15 Aug 2011 08:56:16 +0000
(11:56 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 15 Aug 2011 08:56:16 +0000
(11:56 +0300)
src/mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen.cpp
b/src/mapgen.cpp
index 4285378a09e55c2708f6ac01d2dfe8888613f361..aac2fc2282005c001a11b1d19b0b28e0d7055420 100644
(file)
--- a/
src/mapgen.cpp
+++ b/
src/mapgen.cpp
@@
-1818,7
+1818,7
@@
void make_block(BlockMakeData *data)
vmanip.m_data[i] = MapNode(CONTENT_GRAVEL);
}
else if(noisebuf_ground_crumbleness.get(x,y,z) <
- -
2.3
+ MYMIN(0.1 * sqrt(MYMAX(0, -y)), 1.5))
+ -
3.0
+ MYMIN(0.1 * sqrt(MYMAX(0, -y)), 1.5))
{
vmanip.m_data[i] = MapNode(CONTENT_LAVASOURCE);
for(s16 x1=-1; x1<=1; x1++)