Fix name clash in variables
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
7c729ca6f4
commit
edc8e3d5f6
@ -1655,9 +1655,9 @@ void Kart::loadData(RaceManager::KartType type, Track* track, bool animatedModel
|
||||
if (animatedModel)
|
||||
{
|
||||
scene::ISceneNode* staticModel = m_kart_model->attachModel(false);
|
||||
scene::ISceneNode* animatedModel = m_kart_model->attachModel(animatedModel);
|
||||
scene::ISceneNode* animatedModelNode = m_kart_model->attachModel(animatedModel);
|
||||
LODNode* node = new LODNode(irr_driver->getSceneManager()->getRootSceneNode(), irr_driver->getSceneManager());
|
||||
node->add(100, animatedModel, true);
|
||||
node->add(100, animatedModelNode, true);
|
||||
node->add(500, staticModel, true);
|
||||
m_node = node;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user