From 2f28a2e75ad1f370e1354b38be7728f2dfe7d75b Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Tue, 14 Jan 2003 17:58:03 +0000 Subject: err, not at this point svn-id: r6457 --- scumm/bundle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') 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); -- cgit v1.2.3