diff options
author | Travis Howell | 2004-09-20 09:54:21 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-20 09:54:21 +0000 |
commit | dd45c4272116248cfbc7fdf3fab5f0226745b9d8 (patch) | |
tree | 2baeed3edfe336ba4a64d0db53ed1d2084780192 /scumm | |
parent | 1d1442553b9edc13eb5d2ea1f5726ae3dd520ffd (diff) | |
download | scummvm-rg350-dd45c4272116248cfbc7fdf3fab5f0226745b9d8.tar.gz scummvm-rg350-dd45c4272116248cfbc7fdf3fab5f0226745b9d8.tar.bz2 scummvm-rg350-dd45c4272116248cfbc7fdf3fab5f0226745b9d8.zip |
Ooops, was off by one again.
svn-id: r15200
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 85f5f6d735..847b7bb467 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -187,7 +187,7 @@ void Sound::playSound(int soundID, int offset) { else if (soundID >= 4000) skip = (soundID - 4000); - if (skip > tracks) + if (skip > tracks - 1) skip = 0; musicFile.seek(+28, SEEK_CUR); |