Intro cutscene fixes

This commit is contained in:
Marianne Gagnon 2014-11-05 18:13:47 -05:00
parent ce0d713dd3
commit 2c8f86fabd
2 changed files with 2 additions and 0 deletions

View File

@ -419,6 +419,7 @@ void MainMenuScreen::eventCallback(Widget* widget, const std::string& name,
PlayerProfile *player = PlayerManager::getCurrentPlayer();
if (player->isFirstTime())
{
CutsceneWorld::setUseDuration(true);
StateManager::get()->enterGameState();
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
race_manager->setNumKarts( 0 );

View File

@ -261,6 +261,7 @@ void RaceResultGUI::eventCallback(GUIEngine::Widget* widget,
StateManager::get()->getActivePlayer(playerID)->setKart(NULL);
World::deleteWorld();
CutsceneWorld::setUseDuration(true);
StateManager::get()->enterGameState();
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
race_manager->setNumKarts( 0 );