mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 18:54:48 +00:00
ls:: more careful incompatibility handling in voronoi
This commit is contained in:
parent
cab3cfe2f9
commit
66ea0804cf
@ -592,7 +592,7 @@ EX eLand getNewLand(eLand old, eLand old2 IS(laBarrier)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
eLand n = old;
|
eLand n = old;
|
||||||
while(incompatible(n, old) || !isLandIngame(n)) {
|
while(incompatible(n, old) || incompatible(n, old2) || !isLandIngame(n)) {
|
||||||
n = tab[hrand(cnt)];
|
n = tab[hrand(cnt)];
|
||||||
if(weirdhyperbolic && specialland == laCrossroads4 && isCrossroads(n))
|
if(weirdhyperbolic && specialland == laCrossroads4 && isCrossroads(n))
|
||||||
n = laCrossroads4;
|
n = laCrossroads4;
|
||||||
|
Loading…
Reference in New Issue
Block a user