1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed 'view the underlying' option for older compilers

This commit is contained in:
Zeno Rogue 2019-09-10 09:22:50 +02:00
parent 99cb3f5a61
commit 8078e5903d

View File

@ -710,9 +710,9 @@ EX void showEuclideanMenu() {
}
else if(geometry == gRotSpace) {
constexpr auto& r = rots::underlying_scale;
auto& r = rots::underlying_scale;
dialog::addSelItem(XLAT("view the underlying geometry"), r > 0 ? fts(r)+"x" : ONOFF(false), '4');
dialog::add_action([] {
dialog::add_action([&r] {
dialog::editNumber(r, 0, 1, 0.05, 0.25, XLAT("view the underlying geometry"),
XLAT(
"The space you are currently in the space of rotations of the underlying hyperbolic or spherical geometry. "