Play some music on feature unlocked screen

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-10-29 23:07:22 +00:00
parent fb84565bf8
commit d9fd492d50
2 changed files with 2 additions and 2 deletions

View File

@ -750,6 +750,6 @@ void FeatureUnlockedCutScene::eventCallback(GUIEngine::Widget* widget,
MusicInformation* FeatureUnlockedCutScene::getInGameMenuMusic() const
{
MusicInformation* mi = music_manager->getMusicInformation("race_summary.music");
MusicInformation* mi = music_manager->getMusicInformation("win_theme.music");
return mi;
}

View File

@ -199,8 +199,8 @@ void RaceResultGUI::eventCallback(GUIEngine::Widget* widget,
FeatureUnlockedCutScene::getInstance();
scene->addTrophy(race_manager->getDifficulty());
StateManager::get()->popMenu();
StateManager::get()->pushScreen(scene);
World::deleteWorld();
StateManager::get()->pushScreen(scene);
}
return;
}