]> git.lizzy.rs Git - minetest.git/blobdiff - src/tile.h
Lock mutex when accessing m_env in Server::~Server
[minetest.git] / src / tile.h
index 216d76508ec0347f97a769eb83e5941dc03e6852..5cebb0eaad0cd2dbb9ab0c3d84e82d46d535a31f 100644 (file)
@@ -304,7 +304,7 @@ struct TileSpec
        }
        
        // Sets everything else except the texture in the material
-       void applyMaterialOptions(video::SMaterial &material)
+       void applyMaterialOptions(video::SMaterial &material) const
        {
                if(alpha != 255 && material_type != MATERIAL_ALPHA_VERTEX)
                        dstream<<"WARNING: TileSpec: alpha != 255 "