Exclude exact riverbanks from rivers

This avoids considering points that are exactly at the border of a polygon as rivers
This commit is contained in:
Gael-de-Sailly 2022-01-19 11:19:37 +01:00
parent 6d8ee5af1f
commit 975ad02739
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ local function heightmaps(minp, maxp)
local depth_factor_max = 0
local imax = 0
for i=1, 8 do
if depth_factors[i] >= depth_factor_max then
if depth_factors[i] > depth_factor_max then
depth_factor_max = depth_factors[i]
imax = i
end