Clean up custom color palette

This commit is contained in:
Paul Chote
2010-08-15 00:15:23 +12:00
parent 271be551b0
commit 694fd84188
10 changed files with 53 additions and 26 deletions

View File

@@ -93,14 +93,12 @@ namespace OpenRA.FileFormats
frameData = new uint[frameSize,frameSize];
var type = new String(reader.ReadChars(4));
Console.WriteLine(type);
if (type != "FINF")
{
reader.ReadBytes(27);
type = new String(reader.ReadChars(4));
}
Console.WriteLine(type);
/*var length = */reader.ReadUInt16();
/*var unknown4 = */reader.ReadUInt16();