don't clobber the shadow index twice
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user