aboutsummaryrefslogtreecommitdiff
path: root/scumm/bundle.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-01-14 17:58:03 +0000
committerPaweł Kołodziejski2003-01-14 17:58:03 +0000
commit2f28a2e75ad1f370e1354b38be7728f2dfe7d75b (patch)
tree9a1e423b2b5b354b18232b6acaa1301e70984e82 /scumm/bundle.cpp
parent7bae2062f8f1f66d153ff5beac33678d1b1f977b (diff)
downloadscummvm-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/bundle.cpp')
-rw-r--r--scumm/bundle.cpp2
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);