summaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-11-18 23:40:01 +0000
committerGitHub <noreply@github.com>2019-11-18 23:40:01 +0000
commit97764600e27f8872768a28ac4a379d1d82f86952 (patch)
tree1e28408bf50648c7691f52401af4934984edfa9c /src/mapgen/mapgen.h
parent706b6aad06a112f55105f08b6acd130b276a06ca (diff)
downloadminetest-97764600e27f8872768a28ac4a379d1d82f86952.tar.gz
minetest-97764600e27f8872768a28ac4a379d1d82f86952.tar.bz2
minetest-97764600e27f8872768a28ac4a379d1d82f86952.zip
Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)
Low-disruption first step towards removing the hardcoded cave liquid code. Since MT 5.0.0 cave liquids can be defined and located by biome definitions instead. In games that do not yet use biome definitions to define and locate cave liquids (MTGame does), lava will now appear below y = water_level - 256 instead of below 'lava depth' (usually y = -256). Therefore no change in most mapgens if using the default 'lava depth'.
Diffstat (limited to 'src/mapgen/mapgen.h')
-rw-r--r--src/mapgen/mapgen.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h
index 01a55948b..11db03538 100644
--- a/src/mapgen/mapgen.h
+++ b/src/mapgen/mapgen.h
@@ -285,7 +285,4 @@ protected:
int large_cave_num_min;
int large_cave_num_max;
float large_cave_flooded;
- // TODO 'lava_depth' is deprecated and should be removed. Cave liquids are
- // now defined and located using biome definitions.
- int lava_depth;
};