Apply patch by Wardje to hide the reverse checkbox for battle mode, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
40efd3fbfc
commit
f08f3b76fd
@ -112,6 +112,7 @@ TrackInfoDialog::TrackInfoDialog(const std::string& ribbonItem, const std::strin
|
||||
}
|
||||
else
|
||||
{
|
||||
getWidget<SpinnerWidget>("lapcountspinner")->setVisible(false);
|
||||
m_spinner = NULL;
|
||||
}
|
||||
|
||||
|
@ -302,6 +302,9 @@ void Track::loadTrackInfo()
|
||||
root->get("groups", &m_groups);
|
||||
root->get("internal", &m_internal);
|
||||
root->get("reverse", &m_reverse_available);
|
||||
// Reverse is meaningless in arena
|
||||
m_reverse_available = !m_is_arena && m_reverse_available;
|
||||
|
||||
|
||||
for(unsigned int i=0; i<root->getNumNodes(); i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user