Better documented previosu changes

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-12-22 20:25:08 +00:00
parent b979bf556b
commit 6127b2b4b3

View File

@ -44,6 +44,9 @@ MainMenuScreen::MainMenuScreen() : Screen("main.stkgui")
void MainMenuScreen::init()
{
// on most circumstances, the RaceManager will take care of foing this.
// but e.g. if the player clicks on new game then backs, this needs to happen here
StateManager::get()->resetActivePlayers();
input_manager->getDeviceList()->setAssignMode(NO_ASSIGN);
input_manager->setMasterPlayerOnly(false);
}