diff options
author | Paul Gilbert | 2013-11-12 22:08:29 -0500 |
---|---|---|
committer | Paul Gilbert | 2013-11-12 22:08:29 -0500 |
commit | 73542cdff01da499ce7d58c66b8c15e487293ee6 (patch) | |
tree | 72dd22946b7a263c1305a5484c6d3e86e3295ba0 /engines/tsage | |
parent | 4f7913c3553a0294675b46a9ccbbee19fceecb8d (diff) | |
download | scummvm-rg350-73542cdff01da499ce7d58c66b8c15e487293ee6.tar.gz scummvm-rg350-73542cdff01da499ce7d58c66b8c15e487293ee6.tar.bz2 scummvm-rg350-73542cdff01da499ce7d58c66b8c15e487293ee6.zip |
TSAGE: Fix for R2R crash loading voice after landing on spaceport
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 287d8d04b3..c8ad8c1281 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -2606,7 +2606,8 @@ bool PlayStream::play(int voiceNum, EventHandler *endAction) { // Reached start of next voice sample, so stop break; if (strncmp(header, "MORE", 4)) - error("Invalid stream data"); + // Not more remaining, so break + break; // Get the size of the chunk chunkSize = _file.readUint16LE() - 16; |