From 154080c8836942e438124af35cfc57ef1f304e73 Mon Sep 17 00:00:00 2001 From: paramat Date: Fri, 22 Nov 2019 20:37:43 +0000 Subject: Caves: Fix shadowing of 'large_cave_depth' to avoid confusion --- src/mapgen/mapgen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapgen/mapgen.h') diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h index a44a8dd3b..1473d41a6 100644 --- a/src/mapgen/mapgen.h +++ b/src/mapgen/mapgen.h @@ -244,7 +244,7 @@ public: virtual void generateBiomes(); virtual void dustTopNodes(); virtual void generateCavesNoiseIntersection(s16 max_stone_y); - virtual void generateCavesRandomWalk(s16 max_stone_y, s16 large_cave_depth); + virtual void generateCavesRandomWalk(s16 max_stone_y, s16 large_cave_ymax); virtual bool generateCavernsNoise(s16 max_stone_y); virtual void generateDungeons(s16 max_stone_y); -- cgit v1.2.3