Improved persistence of difficulty setting

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-10-24 01:10:13 +00:00
parent dbf3ec0b09
commit 852e3296c7

View File

@ -169,7 +169,7 @@ void RaceSetupScreen::init()
Screen::init();
RibbonWidget* w = getWidget<RibbonWidget>("difficulty");
assert( w != NULL );
w->setSelection( race_manager->getDifficulty(), PLAYER_ID_GAME_MASTER );
w->setSelection( UserConfigParams::m_difficulty, PLAYER_ID_GAME_MASTER );
SpinnerWidget* kartamount = getWidget<SpinnerWidget>("aikartamount");
kartamount->setActivated();