v1.5.77 - river data change

This commit is contained in:
Azgaar 2021-02-28 17:16:04 +03:00
parent 07f0eff52c
commit 12fd553b0d
4 changed files with 64 additions and 66 deletions

View file

@ -707,7 +707,6 @@ function openNearSeaLakes() {
if (cells.h[c] >= 20) cells.t[c] = 1; // mark as coastline
});
features[lake].type = "ocean"; // mark former lake as ocean
debug.append("circle").attr("cx", grid.points[treshold][0]).attr("cy", grid.points[treshold][1]).attr("r", 2);
}
TIME && console.timeEnd("openLakes");
@ -1132,10 +1131,7 @@ function defineLakesGroup() {
}
function defineGroup(feature) {
const gridCell = pack.cells.g[feature.firstCell];
const temp = grid.cells.temp[gridCell];
if (temp < -3) return "frozen";
if (feature.temp < -3) return "frozen";
if (feature.height > 60 && feature.cells < 10 && feature.firstCell % 5 === 0) return "lava";
if (!feature.inlets && !feature.outlet) {