From c48a7ee0e327dd75882a505bbb7c1bbdc4af9604 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 17 Jun 2013 21:14:59 +0300 Subject: SKY: Fix double scene init when the intro is skipped (bug #3512069) --- engines/sky/sky.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(); } } -- cgit v1.2.3