Minor : improved code that was indented very weirdly

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-05-01 20:05:25 +00:00
parent 0670901505
commit fae4847d67

View File

@@ -231,13 +231,12 @@ void Track::loadTrackInfo()
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;