diff options
| author | Paramat <paramat@users.noreply.github.com> | 2019-11-19 19:59:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-19 19:59:17 +0000 |
| commit | b3c245bb46890d2355ba6456062db65eda475e28 (patch) | |
| tree | 85c7e0b891cf8151509953f59b60669e5f5755eb /src/mapgen/mapgen_flat.h | |
| parent | c10952b5742ba4364ac7e6fc9f9f2b44c73357b5 (diff) | |
| download | minetest-b3c245bb46890d2355ba6456062db65eda475e28.tar.xz | |
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_flat.h')
| -rw-r--r-- | src/mapgen/mapgen_flat.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mapgen/mapgen_flat.h b/src/mapgen/mapgen_flat.h index dd6d51f54..2ff87c0db 100644 --- a/src/mapgen/mapgen_flat.h +++ b/src/mapgen/mapgen_flat.h @@ -75,13 +75,10 @@ public: private: s16 ground_level; - s16 large_cave_depth; float lake_threshold; float lake_steepness; float hill_threshold; float hill_steepness; - s16 dungeon_ymin; - s16 dungeon_ymax; Noise *noise_terrain; }; |
