mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 19:30:41 +00:00
SKY: Fix double scene init when the intro is skipped (bug #3512069)
This commit is contained in:
parent
4b6907141b
commit
c48a7ee0e3
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user