diff options
Diffstat (limited to 'src/mapgen_v5.cpp')
-rw-r--r-- | src/mapgen_v5.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp index 1e5e5dbf0..10e9f5e65 100644 --- a/src/mapgen_v5.cpp +++ b/src/mapgen_v5.cpp @@ -1,6 +1,7 @@ /* Minetest -Copyright (C) 2010-2013 kwolekr, Ryan Kwolek <kwolekr@minetest.net> +Copyright (C) 2010-2015 kwolekr, Ryan Kwolek <kwolekr@minetest.net> +Copyright (C) 2010-2015 paramat, Matt Gregory This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -527,7 +528,7 @@ void MapgenV5::generateCaves(int max_stone_y) } } - if (node_max.Y > LARGE_CAVE_DEPTH) + if (node_max.Y > MGV5_LARGE_CAVE_DEPTH) return; PseudoRandom ps(blockseed + 21343); |