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