From 97849f262343dc937384ad986b8981f67bc6b254 Mon Sep 17 00:00:00 2001 From: auria Date: Thu, 17 Mar 2011 21:09:33 +0000 Subject: [PATCH] Use kart LOD effect earlier, we just don't see any animations for karts as soon as they're no more directly next to the player git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7978 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/karts/kart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 2e3d7017c..a356be83a 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1657,7 +1657,7 @@ void Kart::loadData(RaceManager::KartType type, Track* track, bool animatedModel scene::ISceneNode* staticModel = m_kart_model->attachModel(false); scene::ISceneNode* animatedModelNode = m_kart_model->attachModel(animatedModel); LODNode* node = new LODNode(irr_driver->getSceneManager()->getRootSceneNode(), irr_driver->getSceneManager()); - node->add(100, animatedModelNode, true); + node->add(50, animatedModelNode, true); node->add(500, staticModel, true); m_node = node; }