Disable auto-exit-on-animation-over for feature unlocked screen, should fix #1819
This commit is contained in:
parent
91b062ee52
commit
c87531fc1b
@ -276,6 +276,7 @@ void FeatureUnlockedCutScene::addUnlockedPictures(std::vector<irr::video::ITextu
|
|||||||
void FeatureUnlockedCutScene::init()
|
void FeatureUnlockedCutScene::init()
|
||||||
{
|
{
|
||||||
m_global_time = 0.0f;
|
m_global_time = 0.0f;
|
||||||
|
CutsceneWorld::setUseDuration(false);
|
||||||
|
|
||||||
const int unlockedStuffCount = m_unlocked_stuff.size();
|
const int unlockedStuffCount = m_unlocked_stuff.size();
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ void RaceResultGUI::eventCallback(GUIEngine::Widget* widget,
|
|||||||
StateManager::get()->popMenu();
|
StateManager::get()->popMenu();
|
||||||
World::deleteWorld();
|
World::deleteWorld();
|
||||||
|
|
||||||
CutsceneWorld::setUseDuration(true);
|
CutsceneWorld::setUseDuration(false);
|
||||||
StateManager::get()->enterGameState();
|
StateManager::get()->enterGameState();
|
||||||
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
|
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
|
||||||
race_manager->setNumKarts(0);
|
race_manager->setNumKarts(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user