Add support for rendering tinted artwork.
This commit is contained in:
@@ -89,12 +89,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (CopyRegion != null)
|
||||
foreach (var c in CopyRegion)
|
||||
yield return new SpriteRenderable(copySprite, wr.World.Map.CenterOfCell(c),
|
||||
WVec.Zero, -511, palette, 1f, true);
|
||||
WVec.Zero, -511, palette, 1f, true, true);
|
||||
|
||||
if (PasteRegion != null)
|
||||
foreach (var c in PasteRegion)
|
||||
yield return new SpriteRenderable(pasteSprite, wr.World.Map.CenterOfCell(c),
|
||||
WVec.Zero, -511, palette, 1f, true);
|
||||
WVec.Zero, -511, palette, 1f, true, true);
|
||||
}
|
||||
|
||||
bool IRenderAboveShroud.SpatiallyPartitionable { get { return false; } }
|
||||
|
||||
Reference in New Issue
Block a user