diff options
author | Johannes Schickel | 2006-01-07 23:55:50 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-07 23:55:50 +0000 |
commit | c6e0fabe97fa812edfbc1b1f99f57cb212db3581 (patch) | |
tree | 7fbd0900f071d370951ad795be5ac1ff6e3c71c9 /kyra/wsamovie.cpp | |
parent | 202b739c36ca3854dd522e90a67a120d13445ffb (diff) | |
download | scummvm-rg350-c6e0fabe97fa812edfbc1b1f99f57cb212db3581.tar.gz scummvm-rg350-c6e0fabe97fa812edfbc1b1f99f57cb212db3581.tar.bz2 scummvm-rg350-c6e0fabe97fa812edfbc1b1f99f57cb212db3581.zip |
Implemented playing of the end sequence, still credits do not show up.
svn-id: r19941
Diffstat (limited to 'kyra/wsamovie.cpp')
-rw-r--r-- | kyra/wsamovie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kyra/wsamovie.cpp b/kyra/wsamovie.cpp index 8c8141b993..46b225c71b 100644 --- a/kyra/wsamovie.cpp +++ b/kyra/wsamovie.cpp @@ -36,7 +36,8 @@ void WSAMovieV1::open(const char *filename, int offscreenDecode, uint8 *palBuf) uint32 flags = 0; uint32 fileSize; uint8 *p = _vm->resource()->fileData(filename, &fileSize); - assert(p); + if (!p) + return; const uint8 *wsaData = p; _numFrames = READ_LE_UINT16(wsaData); wsaData += 2; |