From aa7bf607bf2b61e427ebf7df059f27d436904eef Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 8 Jul 2015 16:38:01 +1000 Subject: [PATCH] Minor cosmetic changes. --- src/karts/kart_model.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/karts/kart_model.cpp b/src/karts/kart_model.cpp index 56874685b..4896d629e 100644 --- a/src/karts/kart_model.cpp +++ b/src/karts/kart_model.cpp @@ -459,10 +459,12 @@ scene::ISceneNode* KartModel::attachModel(bool animated_models, bool always_anim obj.m_node = NULL; if(obj.m_model) { - obj.m_node = irr_driver->addAnimatedMesh(obj.m_model, "speedweighted", node); + obj.m_node = irr_driver->addAnimatedMesh(obj.m_model, + "speedweighted", node); obj.m_node->grab(); - obj.m_node->setFrameLoop(m_animation_frame[AF_SPEED_WEIGHTED_START], m_animation_frame[AF_SPEED_WEIGHTED_END]); + obj.m_node->setFrameLoop(m_animation_frame[AF_SPEED_WEIGHTED_START], + m_animation_frame[AF_SPEED_WEIGHTED_END]); #ifdef DEBUG std::string debug_name = obj.m_name+" (speed-weighted)";