diff options
author | kwolekr <kwolekr@minetest.net> | 2016-05-10 00:10:59 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2016-05-27 23:23:58 -0400 |
commit | bf25837617541eee0317e1231abca65233edeb8e (patch) | |
tree | 0bb393e5c835e362210208a522cec3d6b4f2e3b5 /src/mapgen_v6.cpp | |
parent | 1bb5eb1da2c2e34c4413c01b45c63f6a67b214a2 (diff) | |
download | minetest-bf25837617541eee0317e1231abca65233edeb8e.tar.gz minetest-bf25837617541eee0317e1231abca65233edeb8e.tar.bz2 minetest-bf25837617541eee0317e1231abca65233edeb8e.zip |
Cavegen: Rename CaveV6 to CavesV6
- Add comment explaining why it exists
- Remove unused 'flooded' variable
- Rename shadowed variable
- Fix some code style
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r-- | src/mapgen_v6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index c389b2ed4..d143f12e9 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -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); } |