1
0
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:
Zeno Rogue 2018-04-15 13:04:02 +02:00
parent db1359e962
commit b5363ac93c
2 changed files with 5 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;
}