mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Cavegen: Make mgfractal use mgv5 cavegen
Remove CaveFractal Add a lava depth constant to CaveV5 to make it universal
This commit is contained in:
@@ -634,7 +634,7 @@ void MapgenFractal::generateCaves(s16 max_stone_y)
|
||||
PseudoRandom ps(blockseed + 21343);
|
||||
u32 bruises_count = (ps.range(1, 4) == 1) ? ps.range(1, 2) : 0;
|
||||
for (u32 i = 0; i < bruises_count; i++) {
|
||||
CaveFractal cave(this, &ps);
|
||||
CaveV5 cave(this, &ps);
|
||||
cave.makeCave(node_min, node_max, max_stone_y);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user