mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
land selection now automatically changes land_structure for Crossroads and Canvas/Asteroids
This commit is contained in:
parent
864e7e3ec3
commit
2884ae17bc
@ -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();
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user