1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

refactored o_key to use in_full_game

This commit is contained in:
Zeno Rogue 2018-12-04 02:40:27 +01:00
parent 207df51b8a
commit 809a911998

View File

@ -840,10 +840,14 @@ named_functionality get_o_key() {
if(peace::on) if(peace::on)
return named_dialog(XLAT("peaceful mode"), peace::showMenu); return named_dialog(XLAT("peaceful mode"), peace::showMenu);
if((geometry != gNormal || NONSTDVAR) && !chaosmode && !(geometry == gEuclid && isCrossroads(specialland)) && !(weirdhyperbolic && specialland == laCrossroads4)) dialog::infix = "";
if(in_full_game())
return named_dialog(XLAT("world overview"), showOverview);
if(geometry != gNormal || NONSTDVAR)
return named_functionality(XLAT("geometry experiments"), runGeometryExperiments); return named_functionality(XLAT("geometry experiments"), runGeometryExperiments);
dialog::infix = "";
return named_dialog(XLAT("world overview"), showOverview); return named_dialog(XLAT("world overview"), showOverview);
} }