More style cleanup

FossilOrigin-Name: 753ff34122c906fdba43b8c382ac52cc9f0ac3ce585ec9f4db6b1dc1f21ef86a
This commit is contained in:
Jonathan Schleifer 2025-03-08 03:05:16 +00:00
parent dd08a1069e
commit a28209edcf
27 changed files with 525 additions and 539 deletions

View file

@ -73,7 +73,7 @@ perlinarea(block &b, int scale, int seed, int psize)
seed = rnd(10000);
if (!scale)
scale = 10;
for (int x = b.x; x <= b.x + b.xs; x++)
for (int x = b.x; x <= b.x + b.xs; x++) {
for (int y = b.y; y <= b.y + b.ys; y++) {
sqr *s = S(x, y);
if (!SOLID(s) && x != b.x + b.xs && y != b.y + b.ys)
@ -85,5 +85,6 @@ perlinarea(block &b, int scale, int seed, int psize)
25);
if (s->vdelta > 128)
s->vdelta = 0;
};
}
}
}