mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
dual::mayboth when changing geometry
This commit is contained in:
parent
2b2c07a0e7
commit
380a8e8eda
@ -415,7 +415,7 @@ void ge_select_tiling(const vector<eGeometry>& lst) {
|
||||
if(geometry == gFieldQuotient && !CAP_FIELD) continue;
|
||||
dialog::addBoolItem(XLAT(ginf[i].menu_displayed_name), on, letter++);
|
||||
dialog::lastItem().value += validclasses[land_validity(specialland).quality_level];
|
||||
dialog::add_action([i] {
|
||||
dialog::add_action(dual::mayboth([i] {
|
||||
eGeometry targetgeometry = eGeometry(i);
|
||||
if(0) ;
|
||||
#if CAP_CRYSTAL
|
||||
@ -439,9 +439,10 @@ void ge_select_tiling(const vector<eGeometry>& lst) {
|
||||
}
|
||||
#endif
|
||||
});
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
dual::add_choice();
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user