diff options
author | paramat <mat.gregory@virginmedia.com> | 2015-11-08 08:18:47 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2015-11-09 05:29:42 +0000 |
commit | c3e179f256246b4b5a86cd908dfc567a7ec454ee (patch) | |
tree | 18a3591ce63555d0837c55c9b41757739a9cb184 /src/mapgen_fractal.cpp | |
parent | 63e7137e3bb3ef2531faac995e8817b2c3fedc8c (diff) | |
download | minetest-c3e179f256246b4b5a86cd908dfc567a7ec454ee.tar.gz minetest-c3e179f256246b4b5a86cd908dfc567a7ec454ee.tar.bz2 minetest-c3e179f256246b4b5a86cd908dfc567a7ec454ee.zip |
Cavegen: Make mgfractal use mgv5 cavegen
Remove CaveFractal
Add a lava depth constant to CaveV5 to make it universal
Diffstat (limited to 'src/mapgen_fractal.cpp')
-rw-r--r-- | src/mapgen_fractal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp index a33e19840..5eebc17b3 100644 --- a/src/mapgen_fractal.cpp +++ b/src/mapgen_fractal.cpp @@ -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); } } |