Fix small chunk boundaries artifacts

master
Gael-de-Sailly 2018-02-20 20:56:34 +01:00
parent 650ca48fee
commit 0a2ecc1634
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
local h = math.floor(value(heightmap, nchunk, npx) / scale)
if minp.y < h then
if minp.y <= h then
local river_here = false
if rivers then
river_here = value(rivermap, nchunk, npx) > 0