mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 03:28:05 +00:00
added some missing CAP_ guards
This commit is contained in:
@@ -205,6 +205,7 @@ namespace binary {
|
||||
return gm * where;
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
auto bt_config = addHook(hooks_args, 0, [] () {
|
||||
using namespace arg;
|
||||
if(argis("-btwidth")) {
|
||||
@@ -213,6 +214,7 @@ auto bt_config = addHook(hooks_args, 0, [] () {
|
||||
}
|
||||
return 1;
|
||||
});
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user