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:
parent
17667d9be0
commit
26e0f61e23
@ -139,6 +139,8 @@ TrackObjectPresentationLOD::TrackObjectPresentationLOD(const XMLNode& xml_node,
|
||||
|
||||
TrackObjectPresentationLOD::~TrackObjectPresentationLOD()
|
||||
{
|
||||
if (m_node)
|
||||
irr_driver->removeNode(m_node);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user