mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Don't crash if a cutscene is missing. (Like they are in the demo, for instance.)
svn-id: r39186
This commit is contained in:
@@ -2141,7 +2141,7 @@ int32 Logic::fnPlaySequence(int32 *params) {
|
||||
|
||||
_moviePlayer = makeMoviePlayer(filename, _vm, _vm->_mixer, _vm->_system);
|
||||
|
||||
if (_moviePlayer->load(filename)) {
|
||||
if (_moviePlayer && _moviePlayer->load(filename)) {
|
||||
_moviePlayer->play(_sequenceTextList, _sequenceTextLines, _smackerLeadIn, _smackerLeadOut);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user