diff options
author | Oliver Kiehl | 2004-01-19 17:50:38 +0000 |
---|---|---|
committer | Oliver Kiehl | 2004-01-19 17:50:38 +0000 |
commit | a9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a (patch) | |
tree | 97a5598cd0ed077e5948fd5c4c724cf9be009010 | |
parent | 7080232de0cbc40f4300d125db0e39c7a8dace02 (diff) | |
download | scummvm-rg350-a9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a.tar.gz scummvm-rg350-a9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a.tar.bz2 scummvm-rg350-a9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a.zip |
oops
svn-id: r12511
-rw-r--r-- | simon/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp index 205094343f..44201899f8 100644 --- a/simon/sound.cpp +++ b/simon/sound.cpp @@ -235,7 +235,7 @@ void VorbisSound::playSound(uint sound, PlayingSoundHandle *handle, byte flags) while (_offsets[sound + i] == _offsets[sound]) i++; - uint32 size = _offsets[sound+1] - _offsets[sound]; + uint32 size = _offsets[sound + i] - _offsets[sound]; _mixer->playVorbis(handle, _file, size); } |