Properly clean up LOD nodes

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2014-01-07 23:24:43 +00:00
parent 17667d9be0
commit 26e0f61e23

View File

@ -139,6 +139,8 @@ TrackObjectPresentationLOD::TrackObjectPresentationLOD(const XMLNode& xml_node,
TrackObjectPresentationLOD::~TrackObjectPresentationLOD()
{
if (m_node)
irr_driver->removeNode(m_node);
}
// ----------------------------------------------------------------------------