diff options
author | Paweł Kołodziejski | 2003-01-14 17:58:03 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-01-14 17:58:03 +0000 |
commit | 2f28a2e75ad1f370e1354b38be7728f2dfe7d75b (patch) | |
tree | 9a1e423b2b5b354b18232b6acaa1301e70984e82 /scumm | |
parent | 7bae2062f8f1f66d153ff5beac33678d1b1f977b (diff) | |
download | scummvm-rg350-2f28a2e75ad1f370e1354b38be7728f2dfe7d75b.tar.gz scummvm-rg350-2f28a2e75ad1f370e1354b38be7728f2dfe7d75b.tar.bz2 scummvm-rg350-2f28a2e75ad1f370e1354b38be7728f2dfe7d75b.zip |
err, not at this point
svn-id: r6457
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/bundle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp index 7918d71f41..9a03938af5 100644 --- a/scumm/bundle.cpp +++ b/scumm/bundle.cpp @@ -260,6 +260,7 @@ int32 Bundle::decompressVoiceSampleByIndex(int32 index, byte *comp_final, int32 return 0; } + assert(num <= 50); for (i = 0; i < num; i++) { _compVoiceTable[i].offset = _voiceFile.readUint32BE(); _compVoiceTable[i].size = _voiceFile.readUint32BE(); @@ -271,7 +272,6 @@ int32 Bundle::decompressVoiceSampleByIndex(int32 index, byte *comp_final, int32 comp_output = (byte *)malloc(10000); - assert(num <= 50); for (i = 0; i < num; i++) { comp_input = (byte *)malloc(_compVoiceTable[i].size); |