summaryrefslogtreecommitdiff
path: root/src/cavegen.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-04-17 22:25:59 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commit0414322d23f1a4393e909dd075771691603838f3 (patch)
tree18ac554d6abbe25f08dcdba57136a885efe3a4c5 /src/cavegen.h
parenta6cfe73cb057001f214bd8c6cebc3d699dba16b7 (diff)
downloadminetest-0414322d23f1a4393e909dd075771691603838f3.tar.gz
minetest-0414322d23f1a4393e909dd075771691603838f3.tar.bz2
minetest-0414322d23f1a4393e909dd075771691603838f3.zip
Cavegen: Fix variable typo that broke mgvalleys large cave distribution (#7249)
Fix elusive 5 year old bug that caused mgvalleys large caves to be flat and limited to mapchunk borders. Error was fixed 2 years ago in 'CavesV6' but not in 'CavesRandomWalk'.
Diffstat (limited to 'src/cavegen.h')
-rw-r--r--src/cavegen.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cavegen.h b/src/cavegen.h
index a1140594e..1cb8dd90d 100644
--- a/src/cavegen.h
+++ b/src/cavegen.h
@@ -134,7 +134,6 @@ public:
bool large_cave_is_flat;
bool flooded;
- s16 max_stone_y;
v3s16 node_min;
v3s16 node_max;