mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Cavegen: Rename CaveV6 to CavesV6
- Add comment explaining why it exists - Remove unused 'flooded' variable - Rename shadowed variable - Fix some code style
This commit is contained in:
parent
1bb5eb1da2
commit
bf25837617
3 changed files with 41 additions and 29 deletions
|
@ -1067,7 +1067,7 @@ void MapgenV6::generateCaves(int max_stone_y)
|
|||
|
||||
for (u32 i = 0; i < caves_count + bruises_count; i++) {
|
||||
bool large_cave = (i >= caves_count);
|
||||
CaveV6 cave(this, &ps, &ps2, large_cave);
|
||||
CavesV6 cave(this, &ps, &ps2, large_cave);
|
||||
|
||||
cave.makeCave(node_min, node_max, max_stone_y);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue