diff options
author | Eugene Sandulenko | 2016-12-11 16:01:55 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-12-11 18:36:08 +0100 |
commit | fad292cf437aa2bf578148ad6a73d148a9036bdd (patch) | |
tree | a75e437195265e492283ee2d3be87cb094ad0a20 /engines | |
parent | 64ff20acbc24b859ff2c66d0f58be900d302ca43 (diff) | |
download | scummvm-rg350-fad292cf437aa2bf578148ad6a73d148a9036bdd.tar.gz scummvm-rg350-fad292cf437aa2bf578148ad6a73d148a9036bdd.tar.bz2 scummvm-rg350-fad292cf437aa2bf578148ad6a73d148a9036bdd.zip |
FULLPIPE: Fix crash at the end of Russian demo
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/sceneIntroDemo.cpp | 14 |
1 files changed, 1 insertions, 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; } |