1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

land selection now automatically changes land_structure for Crossroads and Canvas/Asteroids

This commit is contained in:
Zeno Rogue 2021-04-12 13:58:04 +02:00
parent 864e7e3ec3
commit 2884ae17bc

View File

@ -205,6 +205,12 @@ EX void ge_land_selection() {
if(landvisited[l]) dialog::do_if_confirmed(dual::mayboth([l] {
stop_game_and_switch_mode(tactic::on ? rg::tactic : rg::nothing);
firstland = specialland = l;
if(l == laCanvas || l == laAsteroids)
land_structure = lsSingle;
else if(among(l, laCrossroads, laCrossroads2))
land_structure = lsNiceWalls;
else if(among(l, laCrossroads4))
land_structure = lsNoWalls;
start_game();
popScreen();
}));