Disable auto-exit-on-animation-over for feature unlocked screen, should fix #1819

This commit is contained in:
Marianne Gagnon 2015-01-05 19:36:04 -05:00
parent 91b062ee52
commit c87531fc1b
2 changed files with 2 additions and 1 deletions

View File

@ -276,6 +276,7 @@ void FeatureUnlockedCutScene::addUnlockedPictures(std::vector<irr::video::ITextu
void FeatureUnlockedCutScene::init()
{
m_global_time = 0.0f;
CutsceneWorld::setUseDuration(false);
const int unlockedStuffCount = m_unlocked_stuff.size();

View File

@ -278,7 +278,7 @@ void RaceResultGUI::eventCallback(GUIEngine::Widget* widget,
StateManager::get()->popMenu();
World::deleteWorld();
CutsceneWorld::setUseDuration(true);
CutsceneWorld::setUseDuration(false);
StateManager::get()->enterGameState();
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
race_manager->setNumKarts(0);