diff options
author | Filippos Karapetis | 2013-06-17 21:14:59 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-17 21:14:59 +0300 |
commit | c48a7ee0e327dd75882a505bbb7c1bbdc4af9604 (patch) | |
tree | 49b349218614757c5a2c50573b0961e22d24279f /engines/sky | |
parent | 4b6907141b82b2f38fab5d13ffab4081a8d2264d (diff) | |
download | scummvm-rg350-c48a7ee0e327dd75882a505bbb7c1bbdc4af9604.tar.gz scummvm-rg350-c48a7ee0e327dd75882a505bbb7c1bbdc4af9604.tar.bz2 scummvm-rg350-c48a7ee0e327dd75882a505bbb7c1bbdc4af9604.zip |
SKY: Fix double scene init when the intro is skipped (bug #3512069)
Diffstat (limited to 'engines/sky')
-rw-r--r-- | engines/sky/sky.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index fd90015aa3..4c47dfafc7 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -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(); } } |