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:
parent
207df51b8a
commit
809a911998
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user