Better function name

This commit is contained in:
Benau
2016-04-03 13:59:10 +08:00
parent 508ddfcd45
commit 224bd277b3
15 changed files with 37 additions and 37 deletions

View File

@@ -173,7 +173,7 @@ void STKMeshSceneNode::updateNoGL()
GLMesh &mesh = GLmeshes[i];
Material* material = material_manager->getMaterialFor(mb->getMaterial().getTexture(0), mb);
if (Mesh->getCustomMaterialType() == video::ECMT_TRANSPARENT)
if (Mesh->getRenderType() == video::ERT_TRANSPARENT)
{
if (!immediate_draw)
TransparentMesh[TM_ADDITIVE].push_back(&mesh);