1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Cavegen: Merge CaveV5 and CaveV7 into CavesRandomWalk

This commit is contained in:
kwolekr 2016-05-10 00:01:37 -04:00
parent 9b5c492be5
commit 1bb5eb1da2
4 changed files with 20 additions and 311 deletions

View file

@ -841,7 +841,7 @@ void MapgenValleys::generateCaves(s16 max_stone_y, s16 large_cave_depth)
if (node_max.Y <= large_cave_depth && !made_a_big_one) {
u32 bruises_count = ps.range(0, 2);
for (u32 i = 0; i < bruises_count; i++) {
CaveV5 cave(this, &ps);
CavesRandomWalk cave(this, &ps);
cave.makeCave(node_min, node_max, max_stone_y);
}
}