don't clobber the shadow index twice

This commit is contained in:
Matthias Mailänder
2013-08-07 14:25:40 +02:00
parent c2d80d21f3
commit c49ddefbe0

View File

@@ -88,7 +88,7 @@ namespace OpenRA.Utility
Array.Resize(ref shadowIndex, shadowIndex.Length + 3); Array.Resize(ref shadowIndex, shadowIndex.Length + 3);
shadowIndex[shadowIndex.Length - 1] = 1; shadowIndex[shadowIndex.Length - 1] = 1;
shadowIndex[shadowIndex.Length - 2] = 3; shadowIndex[shadowIndex.Length - 2] = 3;
shadowIndex[shadowIndex.Length - 1] = 4; shadowIndex[shadowIndex.Length - 3] = 4;
} }
var palette = Palette.Load(args[2], shadowIndex); var palette = Palette.Load(args[2], shadowIndex);