fixup to more guards

This commit is contained in:
Zeno Rogue 2023-04-11 17:10:40 +02:00
parent 8760ac4cfb
commit 3b2c87838d
1 changed files with 1 additions and 1 deletions

View File

@ -2867,7 +2867,7 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
"the sky height, which might be beyond the range visible in fog. To prevent this, "
"the intensity of the fog effect depends on the value here rather than the actual distance. "
"Stars are affected similarly.", '4');
#if MAXMDIM >= 3
#if MAXMDIM >= 4
param_fd(vid.sky_height, "sky_height")
->set_hint([] { return geom3::to_wh(cgi.SKY); })
->editable(0, 10, .1, "altitude of the sky", unitwarn, '5')