diff options
author | Travis Howell | 2003-08-15 01:16:19 +0000 |
---|---|---|
committer | Travis Howell | 2003-08-15 01:16:19 +0000 |
commit | 876383a9c9b03e7890c3c224484618a651f1498b (patch) | |
tree | 23a490cdbfb985b0b6863d7d17914dc9d3a85340 /scumm | |
parent | fa457b95c107838f11728c84fc1e97779adcdfdb (diff) | |
download | scummvm-rg350-876383a9c9b03e7890c3c224484618a651f1498b.tar.gz scummvm-rg350-876383a9c9b03e7890c3c224484618a651f1498b.tar.bz2 scummvm-rg350-876383a9c9b03e7890c3c224484618a651f1498b.zip |
Don't confuse RO and ROL sound resources
svn-id: r9693
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 1326f5a333..2a7b171bfa 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -86,8 +86,9 @@ byte *IMuseInternal::findStartOfSound(int sound) { } // Check for old-style headers first, like 'RO' - if (ptr[4] == 'R' && ptr[5] == 'O') + if (ptr[4] == 'R' && ptr[5] == 'O'&& ptr[6] != 'L') { return ptr + 4; + } ptr += 8; size = READ_BE_UINT32(ptr); |