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:
auria 2011-03-17 20:32:14 +00:00
parent 7c729ca6f4
commit edc8e3d5f6

View File

@ -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;
}