Intro cutscene fixes
This commit is contained in:
parent
ce0d713dd3
commit
2c8f86fabd
@ -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 );
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user