mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
Land switching in geom-exp (cheater enabled)
This commit is contained in:
parent
db1359e962
commit
b5363ac93c
@ -236,7 +236,7 @@ void showEuclideanMenu() {
|
||||
landvisited[laCA] = true;
|
||||
// for(int i=2; i<lt; i++) landvisited[i] = true;
|
||||
|
||||
if((geometry == gNormal && !gp::on) || ewhichscreen == 2) {
|
||||
if(ewhichscreen == 2) {
|
||||
dialog::init(XLAT("experiment with geometry"));
|
||||
int ts = ginf[geometry].sides;
|
||||
int tv = ginf[geometry].vertex;
|
||||
@ -431,7 +431,7 @@ void showEuclideanMenu() {
|
||||
else if(lid >= 0 && lid < size(landlist)) {
|
||||
eLand nland = landlist[lid];
|
||||
if(landvisited[nland]) {
|
||||
specialland = nland;
|
||||
firstland = specialland = nland;
|
||||
restartGame(tactic::on ? rg::tactic : rg::nothing);
|
||||
pushScreen(showEuclideanMenu);
|
||||
}
|
||||
|
@ -1366,6 +1366,9 @@ land_validity_t& land_validity(eLand l) {
|
||||
// these don't appear in normal game, but do appear in special modes
|
||||
if(l == laWildWest && !randomPatternsMode)
|
||||
return out_of_theme;
|
||||
|
||||
if(l == laIce && !gp::on && hyperbolic_37)
|
||||
return full_game;
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user