Remove duplicated Format2 implementation.

This commit is contained in:
Paul Chote
2013-12-02 19:56:30 +13:00
parent 4d12ea0941
commit c2413b63f7
3 changed files with 9 additions and 25 deletions

View File

@@ -73,10 +73,10 @@ namespace OpenRA.FileFormats
{
var tempData = new byte[dataSize];
Format80.DecodeInto(imgData, tempData);
Format2.DecodeInto(tempData, Data);
Format2.DecodeInto(tempData, Data, 0);
}
else
Format2.DecodeInto(imgData, Data);
Format2.DecodeInto(imgData, Data, 0);
// Lookup values in lookup table
for (var j = 0; j < Data.Length; j++)