mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
added missing CAP_COMMANDLINE guards
This commit is contained in:
parent
b260cbb91f
commit
07058956ba
@ -1102,6 +1102,7 @@ namespace euclid3 {
|
||||
}
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
int euArgs() {
|
||||
using namespace arg;
|
||||
|
||||
@ -1151,6 +1152,7 @@ namespace euclid3 {
|
||||
}
|
||||
|
||||
auto euhook = addHook(hooks_args, 100, euArgs);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -265,6 +265,7 @@ namespace dual {
|
||||
state = 0;
|
||||
}
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
int args() {
|
||||
using namespace arg;
|
||||
|
||||
@ -288,6 +289,7 @@ namespace dual {
|
||||
}
|
||||
|
||||
auto hook = addHook(hooks_args, 100, args);
|
||||
#endif
|
||||
|
||||
vector<int> landsides;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user