ls:: more careful incompatibility handling in voronoi

This commit is contained in:
Zeno Rogue 2023-09-18 11:10:41 +02:00
parent cab3cfe2f9
commit 66ea0804cf
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ EX eLand getNewLand(eLand old, eLand old2 IS(laBarrier)) {
}
eLand n = old;
while(incompatible(n, old) || !isLandIngame(n)) {
while(incompatible(n, old) || incompatible(n, old2) || !isLandIngame(n)) {
n = tab[hrand(cnt)];
if(weirdhyperbolic && specialland == laCrossroads4 && isCrossroads(n))
n = laCrossroads4;