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:
parent
b979bf556b
commit
6127b2b4b3
@ -44,6 +44,9 @@ MainMenuScreen::MainMenuScreen() : Screen("main.stkgui")
|
|||||||
|
|
||||||
void MainMenuScreen::init()
|
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->getDeviceList()->setAssignMode(NO_ASSIGN);
|
||||||
input_manager->setMasterPlayerOnly(false);
|
input_manager->setMasterPlayerOnly(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user