add D2k crates, started fixing infantry

infantry directions are correct, but movement is still wrong
This commit is contained in:
Matthias Mailänder
2012-05-28 20:14:56 +02:00
parent ec7795fa99
commit 27fa99852b
6 changed files with 89 additions and 39 deletions

View File

@@ -82,11 +82,10 @@ namespace OpenRA.Utility
for (int i = 0; i < 256; i++)
reader.ReadUInt16();
}
else if (ID == 2 && PaletteHandle != 0)
else if (ID == 2 && PaletteHandle != 0) // image with custom palette
{
// ignore image with custom palette
for (int i = 0; i < Width*Height; i++)
reader.ReadByte();
Image[i] = reader.ReadByte();
}
else //standard palette or 16 Bpp
{