diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index f5f204510..d8bac886b 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -203,15 +203,6 @@ Material::Material(const XMLNode *node, bool deprecated) m_shader_name = "alphablend"; } - b = false; - node->get("transparency", &b); - if (b) - { - m_shader_name = "alphatest"; - } - - //node->get("lightmap", &m_lightmap); - b = false; node->get("alpha", &b); if (b)