1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Remove p.layer.animation_frame_count

This commit is contained in:
cx384 2025-09-21 22:17:31 +02:00
parent 77290934b7
commit bb38c0d107

View file

@ -700,7 +700,7 @@ MapBlockMesh::MapBlockMesh(Client *client, MeshMakeData *data):
u8 tiles = p.layer.scale; u8 tiles = p.layer.scale;
if (tiles > 1) if (tiles > 1)
os << ":" << (u32)tiles; os << ":" << (u32)tiles;
os << ":" << (u32)p.layer.animation_frame_count << ":"; os << ":" << 1 << ":";
m_crack_materials.insert(std::make_pair( m_crack_materials.insert(std::make_pair(
std::pair<u8, u32>(layer, i), os.str())); std::pair<u8, u32>(layer, i), os.str()));
// Replace tile texture with the cracked one // Replace tile texture with the cracked one