]> git.lizzy.rs Git - minetest.git/blobdiff - src/clouds.cpp
dig_immediate=2 -> 0.5 seconds digging time
[minetest.git] / src / clouds.cpp
index 063a4b1117cf3ec1bb939781c08ca14c54681158..23243659707bb8c56ddc2a9ce72f920d57d5e4f9 100644 (file)
@@ -81,9 +81,9 @@ void Clouds::render()
 
        ScopeProfiler sp(g_profiler, "Rendering of clouds, avg", SPT_AVG);
 
-       int num_faces_to_draw = 6;
-       if(g_settings->getBool("enable_2d_clouds"))
-               num_faces_to_draw = 1;
+       int num_faces_to_draw = 1;
+       if(g_settings->getBool("enable_3d_clouds"))
+               num_faces_to_draw = 6;
 
        driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);
        driver->setMaterial(m_material);