1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 09:47:56 +00:00

added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE

This commit is contained in:
Zeno Rogue
2021-05-29 12:15:50 +02:00
parent 83070fe50c
commit 334bf12292
4 changed files with 9 additions and 5 deletions

View File

@@ -1807,7 +1807,7 @@ auto animhook = addHook(hooks_frame, 100, display_animation)
#if CAP_COMMANDLINE
+ addHook(hooks_args, 100, readArgs)
#endif
+ addHook(hooks_config, 100, [] {
+ addHook(hooks_configfile, 100, [] {
#if CAP_CONFIG
param_f(anims::period, "aperiod", "animation period");
addsaver(anims::noframes, "animation frames");