This commit is contained in:
Benau 2016-10-12 14:00:51 +08:00
parent 48e6128e12
commit 965e901796

View File

@ -74,7 +74,7 @@ ThreeStrikesBattle::~ThreeStrikesBattle()
{
m_tires.clearWithoutDeleting();
irr_driver->grabAllTextures(m_tire);
irr_driver->dropAllTextures(m_tire);
// Remove the mesh from the cache so that the mesh is properly
// freed once all refernces to it (which will happen once all
// karts are being freed, which would have a pointer to this mesh)