diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-12-06 22:40:04 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-06 22:42:09 -0500 |
commit | 96f753a108600619f94015bf889a73d97e44ce3a (patch) | |
tree | f9814e1d6d5f9c0c4973fa529096823fd24d6697 | |
parent | e15681080e4f7cd5a830fae2e21abf683ea344ba (diff) | |
download | minetest-96f753a108600619f94015bf889a73d97e44ce3a.tar.gz minetest-96f753a108600619f94015bf889a73d97e44ce3a.tar.bz2 minetest-96f753a108600619f94015bf889a73d97e44ce3a.zip |
Fix paralax occlusion setting
-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); |