aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_valleys.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-11-19 19:59:17 +0000
committerGitHub <noreply@github.com>2019-11-19 19:59:17 +0000
commitb3c245bb46890d2355ba6456062db65eda475e28 (patch)
tree85c7e0b891cf8151509953f59b60669e5f5755eb /src/mapgen/mapgen_valleys.h
parentc10952b5742ba4364ac7e6fc9f9f2b44c73357b5 (diff)
downloadminetest-b3c245bb46890d2355ba6456062db65eda475e28.tar.gz
minetest-b3c245bb46890d2355ba6456062db65eda475e28.tar.bz2
minetest-b3c245bb46890d2355ba6456062db65eda475e28.zip
Move duplicated mapgen parameters to class MapgenBasic (#9134)
'large_cave_depth', 'dungeon_ymin' and 'dungeon_ymax' are duplicated across many mapgens so should have been in class MapgenBasic from the start.
Diffstat (limited to 'src/mapgen/mapgen_valleys.h')
-rw-r--r--src/mapgen/mapgen_valleys.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mapgen/mapgen_valleys.h b/src/mapgen/mapgen_valleys.h
index f5a19eaec..be97f0763 100644
--- a/src/mapgen/mapgen_valleys.h
+++ b/src/mapgen/mapgen_valleys.h
@@ -100,10 +100,6 @@ private:
float river_depth_bed;
float river_size_factor;
- s16 large_cave_depth;
- s16 dungeon_ymin;
- s16 dungeon_ymax;
-
Noise *noise_inter_valley_fill;
Noise *noise_inter_valley_slope;
Noise *noise_rivers;