aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword2/driver/d_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index f24646a9af..74df9ae57b 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -108,7 +108,7 @@ static AudioStream *getAudioStream(SoundFileHandle *fh, const char *base, int cd
fh->idxTab[cnt * 3 + 0] = fh->file->readUint32LE();
fh->idxTab[cnt * 3 + 1] = fh->file->readUint32LE();
if (fh->fileType == kCLUMode)
- fh->idxTab[cnt * 3 + 2] = fh->idxTab[cnt * 3 + 1] + 1;
+ fh->idxTab[cnt * 3 + 2] = fh->idxTab[cnt * 3 + 1];
else
fh->idxTab[cnt * 3 + 2] = fh->file->readUint32LE();
}