correction order

This commit is contained in:
Xertis 2025-02-19 09:56:36 +03:00 committed by GitHub
parent 79cd2b45b7
commit c5d1e25b7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,9 +61,9 @@ function place_structures_wide(x, z, w, d, chunk_height)
sz = ez
dir_inertia = dir_inertia * 0.8 +
(rands[8] - 0.5) * math.pow(rands[10], 2) * 8
(rands[8] - 0.5) * math.pow(rands[9], 2) * 8
elevation = elevation * 0.9 +
(rands[9] - 0.4) * (1.0-math.pow(rands[11], 4)) * 8
(rands[10] - 0.4) * (1.0-math.pow(rands[11], 4)) * 8
dir = dir + dir_inertia
end
end