mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Use irr_ptr for MapBlockMesh::m_mesh
This commit is contained in:
parent
2b2f2dee20
commit
9827f9df1b
2 changed files with 8 additions and 8 deletions
|
@ -193,12 +193,12 @@ public:
|
|||
|
||||
scene::IMesh *getMesh()
|
||||
{
|
||||
return m_mesh[0];
|
||||
return m_mesh[0].get();
|
||||
}
|
||||
|
||||
scene::IMesh *getMesh(u8 layer)
|
||||
{
|
||||
return m_mesh[layer];
|
||||
return m_mesh[layer].get();
|
||||
}
|
||||
|
||||
std::vector<MinimapMapblock*> moveMinimapMapblocks()
|
||||
|
@ -242,7 +242,7 @@ private:
|
|||
TileLayer tile;
|
||||
};
|
||||
|
||||
scene::IMesh *m_mesh[MAX_TILE_LAYERS];
|
||||
irr_ptr<scene::IMesh> m_mesh[MAX_TILE_LAYERS];
|
||||
std::vector<MinimapMapblock*> m_minimap_mapblocks;
|
||||
ITextureSource *m_tsrc;
|
||||
IShaderSource *m_shdrsrc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue