mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Cavegen: Remove CavesV6 dependency on Mapgen
This commit is contained in:
@@ -1066,9 +1066,10 @@ void MapgenV6::generateCaves(int max_stone_y)
|
||||
}
|
||||
|
||||
for (u32 i = 0; i < caves_count + bruises_count; i++) {
|
||||
bool large_cave = (i >= caves_count);
|
||||
CavesV6 cave(this, &ps, &ps2, large_cave);
|
||||
CavesV6 cave(ndef, &gennotify, water_level, c_water_source, c_lava_source);
|
||||
|
||||
cave.makeCave(node_min, node_max, max_stone_y);
|
||||
bool large_cave = (i >= caves_count);
|
||||
cave.makeCave(vm, node_min, node_max, &ps, &ps2,
|
||||
large_cave, max_stone_y, heightmap);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user