1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 03:17:39 +00:00

fixed land_structure for princess/racing/heptagonal achievements

This commit is contained in:
Zeno Rogue
2022-02-02 03:01:31 +01:00
parent fae4ceb672
commit fd634e6de8
4 changed files with 23 additions and 12 deletions

View File

@@ -31,8 +31,10 @@ namespace rg {
static const char global = 'x';
/** \brief wrongmode only -- change vid.scfg.players then restart_game(rg::nothing) instead */
static const char multi = 'm';
/** \brief wrongmode only -- mark achievements for special geometries/variations */
/** \brief wrongmode only -- mark achievements for special geometries/variations, this automatically marks the expected land_structure as lsSingle */
static const char special_geometry = 'g';
/** \brief wrongmode only -- mark achievements for special geometries/variations */
static const char special_geometry_nicewalls = 'G';
}
#endif
@@ -1495,7 +1497,7 @@ EX void switch_game_mode(char switchWhat) {
peace::on = false;
tour::on = false;
inv::on = false;
land_structure = lsSingle;
land_structure = racing::on ? lsSingle : lsNiceWalls;
princess::challenge = false;
dual::disable();
break;