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)
committerGitHub <noreply@github.com>
Tue, 17 Apr 2018 21:25:59 +0000 (22:25 +0100)
commitcca925377b7929276de3bb04553ca6ee2012d35d
tree43e79188f071a91a47c64e25d6030533c5289cb5
parent574dab5c1195f7ce30cf9b59950a229a953fd59f
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/mapgen/cavegen.cpp
src/mapgen/cavegen.h