mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +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] {
|
if(landvisited[l]) dialog::do_if_confirmed(dual::mayboth([l] {
|
||||||
stop_game_and_switch_mode(tactic::on ? rg::tactic : rg::nothing);
|
stop_game_and_switch_mode(tactic::on ? rg::tactic : rg::nothing);
|
||||||
firstland = specialland = l;
|
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();
|
start_game();
|
||||||
popScreen();
|
popScreen();
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user