mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
some fixes in validity
This commit is contained in:
parent
c195fc5ad5
commit
a4268e0ed6
@ -1087,16 +1087,16 @@ int isLandValid(eLand l) {
|
|||||||
if((l == laPower || l == laEmerald || l == laPalace) && !stdeuc && !(bigsphere && !elliptic))
|
if((l == laPower || l == laEmerald || l == laPalace) && !stdeuc && !(bigsphere && !elliptic))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if(l == laDragon && geometry)
|
if(l == laDragon && !stdeuc)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if(l == laTrollheim && quotient == 2)
|
if(l == laTrollheim && quotient == 2)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if(l == laTrollheim && geometry)
|
if(l == laTrollheim && !stdeuc)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if(l == laReptile && (geometry || nontruncated))
|
if(l == laReptile && (!stdeuc || nontruncated))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if(l == laCrossroads && weirdhyperbolic)
|
if(l == laCrossroads && weirdhyperbolic)
|
||||||
@ -1128,7 +1128,7 @@ int isLandValid(eLand l) {
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
// highlight Crossroads on Euclidean
|
// highlight Crossroads on Euclidean
|
||||||
if(euclid && (l == laCrossroads || l == laCrossroads4))
|
if(euclid && !torus && (l == laCrossroads || l == laCrossroads4))
|
||||||
return 3;
|
return 3;
|
||||||
|
|
||||||
// highlight Zebra-based lands on Zebra Quotient!
|
// highlight Zebra-based lands on Zebra Quotient!
|
||||||
|
Loading…
Reference in New Issue
Block a user