removed uneeded code

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-03-04 02:51:07 +00:00
parent 34961aa0ea
commit e869757d7c

View File

@ -52,17 +52,6 @@ void LODNode::OnRegisterSceneNode()
return; return;
} }
} }
if (dist >= m_detail[m_nodes.size()-1])
{
m_nodes[m_nodes.size()-1]->OnRegisterSceneNode();
}
else
{
// This probably means the first level of detail is not 0
assert(false);
}
//ISceneNode::OnRegisterSceneNode();
} }
void LODNode::add(int level, scene::ISceneNode* node, bool reparent) void LODNode::add(int level, scene::ISceneNode* node, bool reparent)