From 6127b2b4b319db6b69eb30bd6bb3dbe318a87082 Mon Sep 17 00:00:00 2001 From: auria Date: Tue, 22 Dec 2009 20:25:08 +0000 Subject: [PATCH] Better documented previosu changes git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4340 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/main_menu_screen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/states_screens/main_menu_screen.cpp b/src/states_screens/main_menu_screen.cpp index 99a6cb733..67e8ab007 100644 --- a/src/states_screens/main_menu_screen.cpp +++ b/src/states_screens/main_menu_screen.cpp @@ -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); }