diff --git a/OpenRA.Mods.Cnc/FileFormats/VqaReader.cs b/OpenRA.Mods.Cnc/FileFormats/VqaReader.cs index 1aac556a90..dfbfa81883 100644 --- a/OpenRA.Mods.Cnc/FileFormats/VqaReader.cs +++ b/OpenRA.Mods.Cnc/FileFormats/VqaReader.cs @@ -326,7 +326,7 @@ namespace OpenRA.Mods.Cnc.FileFormats // Annoyingly, the complete table is not applied until the frame // *after* the one that contains the 8th chunk. // Do we have a set of partial lookup tables ready to apply? - if (currentChunkBuffer == chunkBufferParts) + if (currentChunkBuffer == chunkBufferParts && chunkBufferParts != 0) { if (!cbpIsCompressed) cbf = (byte[])cbp.Clone();