Mgvalleys: Use existing 'lava_max_height' value in CavesRandomWalk
authorparamat <paramat@users.noreply.github.com>
Thu, 22 Jun 2017 02:48:22 +0000 (03:48 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sat, 24 Jun 2017 00:48:20 +0000 (01:48 +0100)
commit9a77397fbfb95a0b45ed33831291259626968500
tree4401f572d9814699a52634fc4460738e98e23b4b
parent08f57e1e387580b0487d1da5c195e5bf532c672b
Mgvalleys: Use existing 'lava_max_height' value in CavesRandomWalk

Now that lava depth in large caves is variable we can use the already
present 'lava_max_height' value to set the lava depth in them.
src/mapgen_valleys.cpp