diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index af8f4f531f3f0..f3419692aa257 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -1372,6 +1372,7 @@ void GenericCAO::updateTextures(std::string mod) }); } } else if (m_prop.visual == "upright_sprite") { + scene::IMesh *mesh = m_meshnode->getMesh(); { std::string tname = "no_texture.png"; if (!m_prop.textures.empty()) @@ -1402,6 +1403,9 @@ void GenericCAO::updateTextures(std::string mod) use_anisotropic_filter); }); } + // Set mesh color (only if lighting is disabled) + if (m_prop.glow < 0) + setMeshColor(mesh, {255, 255, 255, 255}); } } // Prevent showing the player after changing texture