Remove dead heightmap code.

This commit is contained in:
Duane 2016-08-11 00:13:37 -05:00
parent 3f8a2de971
commit e5e7475476
2 changed files with 2 additions and 14 deletions

View file

@ -442,10 +442,7 @@ local function generate(p_minp, p_maxp, seed)
local biomemap
if fun_caves.cavegen and fun_caves.decogen then
local h2, write_cave
write_cave, h2 = fun_caves.cavegen(minp, maxp, data, area, node, heightmap, underzone, ground_nodes)
if h2 then
heightmap = h2
end
write_cave = fun_caves.cavegen(minp, maxp, data, area, node, heightmap, underzone, ground_nodes)
write = write or write_cave
if fun_caves.use_bi_hi then