mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
disabled cyclic lands in the list in Euclidean/Sol
This commit is contained in:
parent
502e307667
commit
5367e15b43
@ -573,6 +573,7 @@ eLand getLandForList(cell *c) {
|
|||||||
bool isLandIngame(eLand l) {
|
bool isLandIngame(eLand l) {
|
||||||
if(isElemental(l)) l = laElementalWall;
|
if(isElemental(l)) l = laElementalWall;
|
||||||
if(dual::state == 2 && !dual::check_side(l)) return false;
|
if(dual::state == 2 && !dual::check_side(l)) return false;
|
||||||
|
if((euclid || sol) && isCyclic(l) && l != specialland) return false;
|
||||||
return land_validity(l).flags & lv::appears_in_full;
|
return land_validity(l).flags & lv::appears_in_full;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user