1
0
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:
Zeno Rogue 2017-11-03 19:41:53 +01:00
parent c195fc5ad5
commit a4268e0ed6

View File

@ -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!