diff options
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 22abe4c74..68bd12b97 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -821,7 +821,7 @@ public: services->setPixelShaderConstant("enableBumpmapping", &enable_bumpmapping, 1); float enable_parallax_occlusion = 0; - if (g_settings->getBool("enable_parallax_occlusion"));{ + if (g_settings->getBool("enable_parallax_occlusion")) { enable_parallax_occlusion = 1; float parallax_occlusion_scale = g_settings->getFloat("parallax_occlusion_scale"); services->setPixelShaderConstant("parallaxOcclusionScale", ¶llax_occlusion_scale, 1); |