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:
5196e30
)
Tune cave generation
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 2 Apr 2012 05:51:05 +0000
(08:51 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 2 Apr 2012 05:51:05 +0000
(08:51 +0300)
src/mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen.cpp
b/src/mapgen.cpp
index 56f66f6969d45cc8b0acfa153e2065379b4143a2..0b8832ece089bfb356e133153b124488f23b4afc 100644
(file)
--- a/
src/mapgen.cpp
+++ b/
src/mapgen.cpp
@@
-1476,7
+1476,7
@@
void make_block(BlockMakeData *data)
0.5+(double)node_min.X/250, 0.5+(double)node_min.Y/250,
data->seed+34329, 3, 0.50);
cave_amount = MYMAX(0.0, cave_amount);
- u32 caves_count = cave_amount * volume_nodes /
5
0000;
+ u32 caves_count = cave_amount * volume_nodes /
2
0000;
u32 bruises_count = 1;
PseudoRandom ps(blockseed+21343);
if(ps.range(1, 4) == 1)