Cavegen: Fix variable typo that broke mgvalleys large cave distribution (#7249)
authorParamat <paramat@users.noreply.github.com>
Tue, 17 Apr 2018 21:25:59 +0000 (22:25 +0100)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000 (17:32 +0200)
commit0414322d23f1a4393e909dd075771691603838f3
tree18ac554d6abbe25f08dcdba57136a885efe3a4c5
parenta6cfe73cb057001f214bd8c6cebc3d699dba16b7
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'.
src/cavegen.cpp
src/cavegen.h