aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-01-31 21:48:14 +0000
committerGitHub <noreply@github.com>2022-01-31 21:48:14 +0000
commitc61998bd2000427b96fc506edffa9fa4e27a1a9b (patch)
tree9d1ffe2bca19ca3c2c8290daa512c84e17b7269a /src/client/sky.cpp
parent1e4d6672be35e075de6add3d4d4e97793a911efc (diff)
downloadminetest-c61998bd2000427b96fc506edffa9fa4e27a1a9b.tar.xz
Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)
Diffstat (limited to 'src/client/sky.cpp')
-rw-r--r--src/client/sky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/sky.cpp b/src/client/sky.cpp
index 7fe90c6cd..0ab710eee 100644
--- a/src/client/sky.cpp
+++ b/src/client/sky.cpp
@@ -103,7 +103,7 @@ Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShade
m_directional_colored_fog = g_settings->getBool("directional_colored_fog");
- if (false && g_settings->getBool("enable_dynamic_shadows")) {
+ if (g_settings->getBool("enable_dynamic_shadows")) {
float val = g_settings->getFloat("shadow_sky_body_orbit_tilt");
m_sky_body_orbit_tilt = rangelim(val, 0.0f, 60.0f);
}