mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-07 21:06:00 +00:00
added missing CAP_COMMANDLINE guards
This commit is contained in:
@@ -1301,6 +1301,7 @@ int hk =
|
||||
discoveries.clear();
|
||||
})
|
||||
#endif
|
||||
#if CAP_COMMANDLINE
|
||||
+ addHook(hooks_args, 0, [] {
|
||||
using namespace arg;
|
||||
if(0) ;
|
||||
@@ -1309,7 +1310,9 @@ int hk =
|
||||
else if(argis("-q3-limitv")) { shift(); limitv = argi(); }
|
||||
else return 1;
|
||||
return 0;
|
||||
});
|
||||
})
|
||||
#endif
|
||||
+ 0;
|
||||
|
||||
EX purehookset on_geometry_change;
|
||||
|
||||
|
Reference in New Issue
Block a user