diff options
author | sapier <Sapier at GMX dot net> | 2013-07-07 15:53:40 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-07-07 19:49:52 -0400 |
commit | 88d43af276a4ed85500863b427bf370d8eca2095 (patch) | |
tree | d02fe1196639c48ad14bc4cfc6c5d621015488bf /src/mapblock_mesh.cpp | |
parent | 7e73b7cae9faf203e369dc5cf2b85cff6e6efbad (diff) | |
download | minetest-88d43af276a4ed85500863b427bf370d8eca2095.tar.gz minetest-88d43af276a4ed85500863b427bf370d8eca2095.tar.bz2 minetest-88d43af276a4ed85500863b427bf370d8eca2095.zip |
Fix many formspec menu bugs
Diffstat (limited to 'src/mapblock_mesh.cpp')
-rw-r--r-- | src/mapblock_mesh.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp index 5e4d713b0..4386a1f13 100644 --- a/src/mapblock_mesh.cpp +++ b/src/mapblock_mesh.cpp @@ -1069,10 +1069,9 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data): /* Convert MeshCollector to SMesh - Also store animation info */ - bool enable_shaders = (g_settings->getS32("enable_shaders") > 0); bool enable_bumpmapping = g_settings->getBool("enable_bumpmapping"); + bool enable_shaders = g_settings->getBool("enable_shaders"); video::E_MATERIAL_TYPE shadermat1 = m_gamedef->getShaderSource()-> getShader("test_shader_1").material; video::E_MATERIAL_TYPE shadermat2 = m_gamedef->getShaderSource()-> |