From fad292cf437aa2bf578148ad6a73d148a9036bdd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 11 Dec 2016 16:01:55 +0100 Subject: FULLPIPE: Fix crash at the end of Russian demo --- engines/fullpipe/scenes/sceneIntroDemo.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/engines/fullpipe/scenes/sceneIntroDemo.cpp b/engines/fullpipe/scenes/sceneIntroDemo.cpp index a4e18ce27d..ea3c469ffd 100644 --- a/engines/fullpipe/scenes/sceneIntroDemo.cpp +++ b/engines/fullpipe/scenes/sceneIntroDemo.cpp @@ -81,25 +81,13 @@ int sceneHandlerIntroDemo(ExCommand *ex) { return 0; case 33: - // fall through + g_fp->startSceneTrack(); break; default: return 0; } - if (g_vars->sceneIntro_needSleep) { - if (!g_vars->sceneIntro_aniin1man->_movement && g_vars->sceneIntro_aniin1man->_statics->_staticsId == ST_IN1MAN_SLEEP) - g_vars->sceneIntro_aniin1man->startAnim(MV_IN1MAN_SLEEP, 0, -1); - } else if (g_vars->sceneIntro_needGetup && !g_vars->sceneIntro_aniin1man->_movement && - g_vars->sceneIntro_aniin1man->_statics->_staticsId == ST_IN1MAN_SLEEP) { - g_vars->sceneIntro_needGetup = 0; - - chainQueue(QU_INTR_GETUPMAN, 0); - } - - g_fp->startSceneTrack(); - return 0; } -- cgit v1.2.3