diff options
author | Paramat <paramat@users.noreply.github.com> | 2019-08-15 20:32:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15 20:32:28 +0100 |
commit | d7c10b66d39adb330612da0da6d9c8ed993fe588 (patch) | |
tree | 817db25f2f33d9c2a0dfe96e1afd2944518761b3 /src/modifiedstate.h | |
parent | 2db0e93f73a4b103bfec469b8ff02edce11399de (diff) | |
download | minetest-d7c10b66d39adb330612da0da6d9c8ed993fe588.tar.gz minetest-d7c10b66d39adb330612da0da6d9c8ed993fe588.tar.bz2 minetest-d7c10b66d39adb330612da0da6d9c8ed993fe588.zip |
Mapgen v6: Fix mudflow iteration and iterate twice (#8795)
In MapgenV6::flowMud(), the previous implementation of coordinate
inversion caused the 2 inverted mudflow iterations (out of the 3
iterations) to not loop over the area, so only 1 non-inverted
iteration occurred.
Fix this bug but only iterate mudflow twice, as mapgen v6 has only
had 1 iteration for many years. There is now a good balance of 1
non-inverted iteration and 1 inverted iteration.
Diffstat (limited to 'src/modifiedstate.h')
0 files changed, 0 insertions, 0 deletions