Bring back the ability to skip the unlock cutscense, fixes #3069
This commit is contained in:
parent
d9937d7b33
commit
1afb62c97d
@ -581,20 +581,20 @@ bool FeatureUnlockedCutScene::onEscapePressed()
|
|||||||
|
|
||||||
void FeatureUnlockedCutScene::continueButtonPressed()
|
void FeatureUnlockedCutScene::continueButtonPressed()
|
||||||
{
|
{
|
||||||
//if (m_global_time < GIFT_EXIT_TO)
|
if (m_global_time < GIFT_EXIT_TO)
|
||||||
//{
|
{
|
||||||
// // If animation was not over yet, the button is used to skip the animation
|
// If animation was not over yet, the button is used to skip the animation
|
||||||
// while (m_global_time < GIFT_EXIT_TO)
|
while (m_global_time < GIFT_EXIT_TO)
|
||||||
// {
|
{
|
||||||
// // simulate all the steps of the animation until we reach the end
|
// simulate all the steps of the animation until we reach the end
|
||||||
// onUpdate(0.4f);
|
onUpdate(0.4f);
|
||||||
// World::getWorld()->updateWorld(0.4f);
|
World::getWorld()->updateWorld(0.4f);
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
//else
|
else
|
||||||
//{
|
{
|
||||||
((CutsceneWorld*)World::getWorld())->abortCutscene();
|
((CutsceneWorld*)World::getWorld())->abortCutscene();
|
||||||
//}
|
}
|
||||||
|
|
||||||
} // continueButtonPressed
|
} // continueButtonPressed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user