Fixed D2k VQA videos crashing the game
This commit is contained in:
@@ -326,7 +326,7 @@ namespace OpenRA.Mods.Cnc.FileFormats
|
|||||||
// Annoyingly, the complete table is not applied until the frame
|
// Annoyingly, the complete table is not applied until the frame
|
||||||
// *after* the one that contains the 8th chunk.
|
// *after* the one that contains the 8th chunk.
|
||||||
// Do we have a set of partial lookup tables ready to apply?
|
// Do we have a set of partial lookup tables ready to apply?
|
||||||
if (currentChunkBuffer == chunkBufferParts)
|
if (currentChunkBuffer == chunkBufferParts && chunkBufferParts != 0)
|
||||||
{
|
{
|
||||||
if (!cbpIsCompressed)
|
if (!cbpIsCompressed)
|
||||||
cbf = (byte[])cbp.Clone();
|
cbf = (byte[])cbp.Clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user