Scale down height based on the map scaling
This commit is contained in:
parent
fcb6de872c
commit
bb6b1233cd
|
@ -81,7 +81,7 @@ local function generate_map(data, x, y, w, h, player_x, player_y, detail, map_sc
|
|||
|
||||
if biome then
|
||||
local depth = math.min(math.max(math.floor(height / 8), -8), 0) * -1
|
||||
height = math.max(math.min(math.floor(height / 4), 8), 0)
|
||||
height = math.max(math.min(math.floor(height / (math.max(map_scale * 0.5, 1) + 4)), 8), 0)
|
||||
|
||||
local mod = "";
|
||||
if height > 0 then
|
||||
|
|
Loading…
Reference in New Issue
Block a user