1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-23 14:06:03 +00:00

added missing CAP_COMMANDLINE guards

This commit is contained in:
Zeno Rogue
2020-04-06 08:38:05 +02:00
parent 9a84dfb497
commit 1b9cdab98c
5 changed files with 12 additions and 2 deletions

View File

@@ -234,6 +234,7 @@ EX void show_menu() {
dialog::display();
}
#if CAP_COMMANDLINE
auto sbhook = addHook(hooks_args, 100, [] {
using namespace arg;
@@ -261,6 +262,7 @@ auto sbhook = addHook(hooks_args, 100, [] {
if(in) return named_dialog(XLAT("select a puzzle"), show_menu);
else return named_functionality();
});
#endif
EX }
}