ULTIMA8: Correct offsets of sound index

This commit is contained in:
Matthew Duggan committed 2020-07-31 16:48:09 +09:00
1 parent d8283d1247
commit 07d63b482a
1 file changed
+1
@@ -38,6 +38,7 @@ SoundFlex::SoundFlex(Common::SeekableReadStream *rs) : Archive(rs), _samples(nul
Common::MemoryReadStream st(buf, size);
_index.push_back(SoundFlexEntry(""));
if (buf[0] == 0xFF) {
// Crusader flex has an index in the first object with the format:
// [00 or FF] [ 3 bytes, often 'oB0' or 'pB0' ] [ null-terminated name ]