Cosmetic fix : corrected confusing code indentation

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-02-24 23:51:56 +00:00
parent 2308e94386
commit 1c17346a0a

View File

@@ -226,20 +226,20 @@ void Track::loadTrackInfo()
mode->get("scene", &tm.m_scene );
m_all_modes.push_back(tm);
}
// If no mode is specified, add a default mode.
if(m_all_modes.size()==0)
if (m_all_modes.size()==0)
{
TrackMode tm;
m_all_modes.push_back(tm);
}
if(m_groups.size()==0)
m_groups.push_back("standard");
if (m_groups.size()==0) m_groups.push_back("standard");
const XMLNode *xml_node = root->getNode("curves");
if(xml_node)
loadCurves(*xml_node);
if (xml_node) loadCurves(*xml_node);
// Set the correct paths
// Set the correct paths
m_screenshot = m_root+"/"+m_screenshot;
delete root;