aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2008-01-04 13:34:38 +0000
committerFilippos Karapetis2008-01-04 13:34:38 +0000
commit063f7df4d34b1bcbc3b51ee69378cfa678f6f23c (patch)
treede35301db5ab98adf3e496fa454e98c3e9b868a1 /engines/saga
parent5a931c4170eb389dc803786b59865286d09b51e3 (diff)
downloadscummvm-rg350-063f7df4d34b1bcbc3b51ee69378cfa678f6f23c.tar.gz
scummvm-rg350-063f7df4d34b1bcbc3b51ee69378cfa678f6f23c.tar.bz2
scummvm-rg350-063f7df4d34b1bcbc3b51ee69378cfa678f6f23c.zip
Slight cleanup
svn-id: r30217
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/music.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp
index 2ca05c12ff..a8bb091e07 100644
--- a/engines/saga/music.cpp
+++ b/engines/saga/music.cpp
@@ -105,7 +105,6 @@ DigitalMusicInputStream::DigitalMusicInputStream(SagaEngine *vm, ResourceContext
soundType = kSoundFLAC;
}
- _file->seek((long)resourceData->offset + 9, SEEK_SET);
createCompressedStream();
}
@@ -155,7 +154,7 @@ void DigitalMusicInputStream::createCompressedStream() {
#endif
default:
// Unknown compression
- error("Trying to play a compressed digital music, but the compression is not known");
+ error("Trying to play compressed digital music, but the compression is not known");
break;
}
}
@@ -186,7 +185,6 @@ void DigitalMusicInputStream::refill() {
uint32 lengthLeft;
byte *ptr = (byte *) _buf;
-
_file->seek(_filePos, SEEK_SET);
if (_looping)