SKY: Fix double scene init when the intro is skipped (bug #3512069)

This commit is contained in:
Filippos Karapetis 2013-06-17 21:14:59 +03:00
parent 4b6907141b
commit c48a7ee0e3

View File

@ -187,9 +187,14 @@ Common::Error SkyEngine::go() {
}
if (!shouldQuit()) {
_skyLogic->initScreen0();
// restartGame() takes us to the first scene, without showing the
// initial animation where Foster is being chased. initScreen0()
// shows the first scene together with that animation. We can't
// call both, as they both load the same scene.
if (introSkipped)
_skyControl->restartGame();
else
_skyLogic->initScreen0();
}
}