diff options
author | Oliver Kiehl | 2002-11-26 22:00:17 +0000 |
---|---|---|
committer | Oliver Kiehl | 2002-11-26 22:00:17 +0000 |
commit | 1aa1a77f05c51ba00bf9804a3e75609e7b7cf188 (patch) | |
tree | aa3ca82ce42704b7c45850a6a951eee063484f08 /simon | |
parent | 5215379191c0ba604e83ca21b5578620ad80405e (diff) | |
download | scummvm-rg350-1aa1a77f05c51ba00bf9804a3e75609e7b7cf188.tar.gz scummvm-rg350-1aa1a77f05c51ba00bf9804a3e75609e7b7cf188.tar.bz2 scummvm-rg350-1aa1a77f05c51ba00bf9804a3e75609e7b7cf188.zip |
fixed a stupid mistake of mine
svn-id: r5725
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simonsound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/simonsound.cpp b/simon/simonsound.cpp index da106b57aa..d5d406247c 100644 --- a/simon/simonsound.cpp +++ b/simon/simonsound.cpp @@ -203,12 +203,12 @@ SimonSound::Sound::Sound(SoundMixer *mixer, File *file, uint32 base) uint res = 0; uint32 size; - _file->seek(base + 4, SEEK_SET); + _file->seek(base + sizeof(uint32), SEEK_SET); size = _file->readUint32LE(); res = size / sizeof(uint32); - _offsets = (uint32 *)malloc(size + 1); + _offsets = (uint32 *)malloc(size + sizeof(uint32)); _file->seek(base, SEEK_SET); |