Removed outdated TODO and fixed a FIXME by removing fishy code that didn't seem useful anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
009c30b229
commit
52b72efedd
@ -163,9 +163,6 @@ void AbstractStateManager::popMenu()
|
||||
|
||||
if (m_menu_stack[m_menu_stack.size()-1] == "race")
|
||||
{
|
||||
//FIXME: I check that the top item is 'race', then push it again so it's there twice??? WTF??
|
||||
m_menu_stack.push_back("race");
|
||||
|
||||
setGameState(GAME);
|
||||
GUIEngine::cleanForGame();
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ void FeatureUnlockedCutScene::continueButtonPressed()
|
||||
{
|
||||
if (race_manager->getMajorMode() == RaceManager::MAJOR_MODE_GRAND_PRIX)
|
||||
{
|
||||
// in GP mode, continue GP after viewing this screen (TODO: test)
|
||||
// in GP mode, continue GP after viewing this screen
|
||||
StateManager::get()->popMenu();
|
||||
race_manager->next();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user