projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66bf7b0
)
Tune caves
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 3 Feb 2012 17:08:42 +0000
(19:08 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 27 Mar 2012 16:09:08 +0000
(19:09 +0300)
src/mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/mapgen.cpp
b/src/mapgen.cpp
index c6893eed79055dbec7c5c0063ab7012406e7f675..77bd8a8b0a19d989a258d8ea643c4e4ab573ef12 100644
(file)
--- a/
src/mapgen.cpp
+++ b/
src/mapgen.cpp
@@
-1461,12
+1461,10
@@
void make_block(BlockMakeData *data)
u32 bruises_count = volume_nodes * stone_surface_max_y / 40000000;
if(stone_surface_max_y < WATER_LEVEL - 20)
bruises_count = 0;
- /*u32 caves_count = 0;
- u32 bruises_count = 0;*/
for(u32 jj=0; jj<caves_count+bruises_count; jj++)
{
s16 min_tunnel_diameter = 2;
- s16 max_tunnel_diameter =
5
;
+ s16 max_tunnel_diameter =
myrand_range(4,5)
;
u16 tunnel_routepoints = 20;
v3f main_direction(0,0,0);