mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fixed minimap memory leak
This commit is contained in:
parent
9bc0241e44
commit
88a6b9f52d
4 changed files with 16 additions and 8 deletions
|
@ -1278,6 +1278,7 @@ MapBlockMesh::~MapBlockMesh()
|
|||
{
|
||||
m_mesh->drop();
|
||||
m_mesh = NULL;
|
||||
delete m_minimap_mapblock;
|
||||
}
|
||||
|
||||
bool MapBlockMesh::animate(bool faraway, float time, int crack, u32 daynight_ratio)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue