ray:: fixed guards

This commit is contained in:
Zeno Rogue 2019-11-23 23:51:52 +01:00
parent 5354c92c1a
commit cba7782e64
1 changed files with 6 additions and 2 deletions

View File

@ -1149,6 +1149,10 @@ int readArgs() {
return 0;
}
auto hook = addHook(hooks_args, 100, readArgs);
#endif
#if CAP_CONFIG
void addconfig() {
addparam(exp_start, "ray_exp_start");
addparam(exp_decay_exp, "ray_exp_decay_exp");
@ -1164,9 +1168,9 @@ void addconfig() {
addsaver(max_cells, "ray_max_cells");
addsaver(rays_generate, "ray_generate");
}
auto hook = addHook(hooks_args, 100, readArgs) + addHook(hooks_configfile, 100, addconfig);
auto hookc = addHook(hooks_configfile, 100, addconfig);
#endif
#endif
#if MAXMDIM == 3