From 22048dca5864e10dc00e69432d2cc96cbdb10b71 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 19 Jun 2004 15:17:50 +0000 Subject: that was very bad svn-id: r13966 --- scumm/imuse_digi/dimuse_bndmgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scumm/imuse_digi/dimuse_bndmgr.cpp b/scumm/imuse_digi/dimuse_bndmgr.cpp index d41106b597..aeaa3efcef 100644 --- a/scumm/imuse_digi/dimuse_bndmgr.cpp +++ b/scumm/imuse_digi/dimuse_bndmgr.cpp @@ -104,7 +104,7 @@ int BundleDirCache::matchFile(const char *filename, const char *directory) { name[z] = '\0'; strcpy(_budleDirCache[freeSlot].bundleTable[i].filename, name); _budleDirCache[freeSlot].bundleTable[i].offset = file.readUint32BE(); - file.seek(4); + file.seek(4, SEEK_CUR); } return freeSlot; } else { @@ -185,7 +185,7 @@ int32 BundleMgr::decompressSampleByIndex(int32 index, int32 offset, int32 size, _file.seek(_bundleTable[index].offset, SEEK_SET); tag = _file.readUint32BE(); _numCompItems = num = _file.readUint32BE(); - _file.seek(8); + _file.seek(8, SEEK_CUR); if (tag != MKID_BE('COMP')) { warning("BundleMgr::decompressSampleByIndex() Compressed sound %d invalid (%s)", index, tag2str(tag)); @@ -198,7 +198,7 @@ int32 BundleMgr::decompressSampleByIndex(int32 index, int32 offset, int32 size, _compTable[i].offset = _file.readUint32BE(); _compTable[i].size = _file.readUint32BE(); _compTable[i].codec = _file.readUint32BE(); - _file.seek(4); + _file.seek(4, SEEK_CUR); if (_compTable[i].size > maxSize) maxSize = _compTable[i].size; } -- cgit v1.2.3